Evaluation Board for atpl230a devices.
Modules | |
"ATPL230AMB - Board informations" | |
Definitions related to the board description. | |
"ATPL230AMB - Operating frequencies" | |
Definitions related to the board operating frequency. | |
"ATPL230AMB - Features" | |
Symbols that describe features and capabilities of the board. | |
Macros | |
#define | ioport_set_pin_input_mode(pin, mode, sense) |
Set input mode for one single IOPORT pin. More... | |
#define | ioport_set_pin_peripheral_mode(pin, mode) |
Set peripheral mode for one single IOPORT pin. More... | |
#define | ioport_set_port_peripheral_mode(port, masks, mode) |
Set peripheral mode for IOPORT pins. More... | |
Functions | |
void | board_init (void) |
This function initializes the board target resources. More... | |
#define ioport_set_pin_input_mode | ( | pin, | |
mode, | |||
sense | |||
) |
Set input mode for one single IOPORT pin.
It will configure port mode and disable pin mode (but enable peripheral).
pin | IOPORT pin to configure |
mode | Mode masks to configure for the specified pin (IOPORT Modes) |
sense | Sense for interrupt detection (ioport_sense) |
Referenced by board_init().
#define ioport_set_pin_peripheral_mode | ( | pin, | |
mode | |||
) |
Set peripheral mode for one single IOPORT pin.
It will configure port mode and disable pin mode (but enable peripheral).
pin | IOPORT pin to configure |
mode | Mode masks to configure for the specified pin (IOPORT Modes) |
Referenced by board_init().
#define ioport_set_port_peripheral_mode | ( | port, | |
masks, | |||
mode | |||
) |
Set peripheral mode for IOPORT pins.
It will configure port mode and disable pin mode (but enable peripheral).
port | IOPORT port to configure |
masks | IOPORT pin masks to configure |
mode | Mode masks to configure for the specified pin (IOPORT Modes) |
Referenced by board_init().
void board_init | ( | void | ) |
This function initializes the board target resources.
This function should be called to ensure proper initialization of the target board hardware connected to the part.
References GPIO_USB_DETECT, GPIO_USB_DETECT_FLAGS, GPIO_USB_DETECT_SENSE, IOPORT_DIR_OUTPUT, ioport_init(), ioport_set_pin_dir(), ioport_set_pin_input_mode, ioport_set_pin_level(), ioport_set_pin_peripheral_mode, ioport_set_port_peripheral_mode, LED0_GPIO, LED0_INACTIVE_LEVEL, LED1_GPIO, PIN_USART0_RXD_FLAGS, PIN_USART0_RXD_IDX, PIN_USART0_TXD_FLAGS, PIN_USART0_TXD_IDX, PIN_USART1_RTS_FLAGS, PIN_USART1_RTS_IDX, PIN_USART1_RXD_FLAGS, PIN_USART1_RXD_IDX, PIN_USART1_SCK_FLAGS, PIN_USART1_SCK_IDX, PIN_USART1_TXD_FLAGS, PIN_USART1_TXD_IDX, PINS_UART0, PINS_UART0_FLAGS, PINS_UART0_PORT, PINS_UART1, PINS_UART1_FLAGS, PINS_UART1_PORT, SPI0_MISO_FLAGS, SPI0_MISO_GPIO, SPI0_MOSI_FLAGS, SPI0_MOSI_GPIO, SPI0_NPCS0_FLAGS, SPI0_NPCS0_GPIO, SPI0_SPCK_FLAGS, SPI0_SPCK_GPIO, supc_switch_sclk_to_32kxtal(), TWIO_CLK_FLAG, TWIO_CLK_GPIO, TWIO_DATA_FLAG, and TWIO_DATA_GPIO.
Referenced by main().