Fast General Purpose Parallel I/O

         Device pins that are not connected to a specific peripheral function are controlled by the GPIO registers. Pins may be dynamically configured as inputs or outputs. Separate registers allow setting or clearing any number of outputs simultaneously. The value of the output register may be read back, as well as the current state of the port pins.

LPC2141/42/44/46/48 introduce accelerated GPIO functions over prior LPC2000 devices:

  • GPIO registers are relocated to the ARM local bus for the fastest possible I/O timing.
  • Mask registers allow treating sets of port bits as a group, leaving other bits unchanged.
  • All GPIO registers are byte addressable.
  • Entire port value can be written in one instruction.

Features:

  • Bit-level set and clear registers allow a single instruction set or clear of any number of bits in one port.
  • Direction control of individual bits.
  • Separate control of output set and clear.
  • All I/O default to inputs after reset.
     

From the Web

Suggestions: (1)
Loading...

See few results | more results

Search: [Press Enter]

Share |