LPC2400 learning post GPIO: To learn GPIO, you must first understand the pin function configuration. Because a pin may have multiple functions. The PINSEL register controls the function of the pin, where each pair of bits controls the pin of the corresponding device. From the figure, you can see that when the corresponding two bits are 00, the pin function is defined as gpio. (Only after the gpio function is defined, the direction control bit of the pin can be effective) The PINMODE register controls the pull-up and pull-down resistors on the chip.
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore