Modules | |
Feature definitions | |
Macros | |
#define | ioport_set_pin_peripheral_mode(pin, mode) |
Set peripheral mode for one single IOPORT pin. More... | |
Functions | |
void | board_init (void) |
This function initializes the board target resources. More... | |
#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().
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 ABDACB_AUDIO0_MUX, ABDACB_AUDIO0_PIN, ABDACB_AUDIO1_MUX, ABDACB_AUDIO1_PIN, BM_USART_RX_MUX, BM_USART_RX_PIN, BM_USART_TX_MUX, BM_USART_TX_PIN, COM_PORT_RX_MUX, COM_PORT_RX_PIN, COM_PORT_TX_MUX, COM_PORT_TX_PIN, DACC_VOUT_MUX, DACC_VOUT_PIN, GPIO_PUSH_BUTTON_EIC_PIN, GPIO_PUSH_BUTTON_EIC_PIN_MUX, GPIO_UNIT_TEST_EIC_PIN, GPIO_UNIT_TEST_EIC_PIN_MUX, IOPORT_DIR_INPUT, IOPORT_DIR_OUTPUT, ioport_init(), IOPORT_MODE_PULLUP, IOPORT_PIN_LEVEL_LOW, ioport_set_pin_dir(), ioport_set_pin_level(), ioport_set_pin_mode(), ioport_set_pin_peripheral_mode, LCD_BL_GPIO, LCD_BL_INACTIVE_LEVEL, LED0_GPIO, LED0_INACTIVE_LEVEL, RS485_USART_CTS_PIN, RS485_USART_RTS_MUX, RS485_USART_RTS_PIN, RS485_USART_RX_MUX, RS485_USART_RX_PIN, RS485_USART_TX_MUX, RS485_USART_TX_PIN, TWIMS1_TWI_SCL_MUX, TWIMS1_TWI_SCL_PIN, TWIMS1_TWI_SDA_MUX, TWIMS1_TWI_SDA_PIN, USART0_RX_MUX, USART0_RX_PIN, USART0_TX_MUX, USART0_TX_PIN, USB_ID_FLAGS, USB_ID_PIN, USB_VBERR_FLAGS, USB_VBERR_PIN, USB_VBOF_INACTIVE_LEVEL, USB_VBOF_PIN, wdt_disable(), wdt_get_config_defaults(), and wdt_init().
Referenced by main().