uc-sdk
|
Pin configuration structure. More...
#include <lpc17xx_pinsel.h>
Public Attributes | |
uint8_t | Portnum |
uint8_t | Pinnum |
uint8_t | Funcnum |
uint8_t | Pinmode |
uint8_t | OpenDrain |
Pin configuration structure.
Definition at line 143 of file lpc17xx_pinsel.h.
uint8_t PINSEL_CFG_Type::Funcnum |
Function Number, should be PINSEL_FUNC_x,
where x should be in range from 0 to 3
Definition at line 149 of file lpc17xx_pinsel.h.
uint8_t PINSEL_CFG_Type::OpenDrain |
OpenDrain mode, should be:
Definition at line 155 of file lpc17xx_pinsel.h.
uint8_t PINSEL_CFG_Type::Pinmode |
Pin Mode, should be:
Definition at line 151 of file lpc17xx_pinsel.h.
uint8_t PINSEL_CFG_Type::Pinnum |
Pin Number, should be PINSEL_PIN_x,
where x should be in range from 0 to 31
Definition at line 147 of file lpc17xx_pinsel.h.
uint8_t PINSEL_CFG_Type::Portnum |
Port Number, should be PINSEL_PORT_x,
where x should be in range from 0 to 4
Definition at line 145 of file lpc17xx_pinsel.h.