RTEMS
5.0.0
|
Input/output module definitions. More...
Go to the source code of this file.
Data Structures | |
struct | lpc176x_module_entry |
Defines the module entry. More... | |
Enumerations | |
enum | lpc176x_pin_function { LPC176X_PIN_FUNCTION_00, LPC176X_PIN_FUNCTION_01, LPC176X_PIN_FUNCTION_10, LPC176X_PIN_FUNCTION_11, LPC176X_PIN_FUNCTION_COUNT } |
Defines the functions according to the pin. More... | |
enum | lpc176x_pin_mode { LPC176X_PIN_MODE_PULLUP, LPC176X_PIN_MODE_REPEATER, LPC176X_PIN_MODE_NONE, LPC176X_PIN_MODE_PULLDOWN, LPC176X_PIN_MODE_COUNT } |
Defines the pin modes. | |
enum | lpc176x_pin_type { LPC176X_PIN_TYPE_DEFAULT, LPC176X_PIN_TYPE_ADC, LPC176X_PIN_TYPE_DAC, LPC176X_PIN_TYPE_OPEN_DRAIN } |
Defines all type of pins. More... | |
enum | lpc176x_scb_value_pclksel { LPC176X_SCB_PCLKSEL0, LPC176X_SCB_PCLKSEL1, LPC176X_SCB_PCLKSEL_COUNT } |
Represents each pclksel number. More... | |
Input/output module definitions.
#define LPC176X_IO_INDEX_MAX |
#define LPC176X_MODULE_ENTRY | ( | mod, | |
pwr, | |||
clk, | |||
idx | |||
) |
enum lpc176x_pin_function |
Defines the functions according to the pin.
Enumerated type to define the set of pin function for a io device.
enum lpc176x_pin_type |
Defines all type of pins.
Enumerated type to define the set of pin type for a io device.
Represents each pclksel number.
Enumerated type to define the set of values for a pcklsel.