![]() |
MKM34Z256VLx7 Bare Metal Software Drivers
R4.1.6
Reference Manual
|
This section describes default configuration structures for PORT module. Create a new configuration structure if default ones don't initialize on-chip peripheral in required operating mode (see Creating Configuration Structure). Refer to Pin Assignments.
Macros | |
#define | PORT_MODULE_ALT0_MODE |
Configures pin(s) to Alternative 0 (analogue) mode. Digital portion of the port pin logic is disabled. Pins with no analogue functionality as well as their internal pull-up resistors will be disabled. More... | |
#define | PORT_MODULE_ALT0_PULLUP_EN_MODE |
Configures pin(s) to Alternative 0 (analogue) mode. Digital portion of the port pin logic is disabled. Pins with no analogue functionality will be disabled keeping their pull-up resistors enabled. More... | |
#define | PORT_MODULE_ALT1_MODE |
Configures pin(s) to Alternative 1 (GPIO) mode. More... | |
#define | PORT_MODULE_ALT1_OD_EN_MODE |
Configures pin(s) to Alternative 1 (GPIO) open-drain mode. More... | |
#define | PORT_MODULE_ALT1_PULLUP_EN_MODE |
Configures pin(s) to Alternative 1 (GPIO) mode with pull-up enabled. More... | |
#define | PORT_MODULE_ALT1_LOGIC0_IRQ_MODE |
Configures pin(s) to Alternative 1 (GPIO) IRQ when logic 0 mode. More... | |
#define | PORT_MODULE_ALT1_LOGIC1_IRQ_MODE |
Configures pin(s) to Alternative 1 (GPIO) IRQ when logic 1 mode. More... | |
#define | PORT_MODULE_ALT1_POSEDGE_IRQ_MODE |
Configures pin(s) to Alternative 1 (GPIO) IRQ on rising edge mode. More... | |
#define | PORT_MODULE_ALT1_NEGEDGE_IRQ_MODE |
Configures pin(s) to Alternative 1 (GPIO) IRQ on falling edge mode. More... | |
#define | PORT_MODULE_ALT1_ANYEDGE_IRQ_MODE |
Configures pin(s) to Alternative 1 (GPIO) IRQ on either edge mode. More... | |
#define | PORT_MODULE_ALT2_MODE |
Configures pin(s) to Alternative 2 (chip-specific) mode. More... | |
#define | PORT_MODULE_ALT2_OD_EN_MODE |
Configures pin(s) to Alternative 2 (chip-specific) open-drain mode. More... | |
#define | PORT_MODULE_ALT2_PULLUP_EN_MODE |
Configures pin(s) to Alternative 2 mode with pull-up enabled. More... | |
#define | PORT_MODULE_ALT3_MODE |
Configures pin(s) to Alternative 3 (chip-specific) mode. More... | |
#define | PORT_MODULE_ALT3_OD_EN_MODE |
Configures pin(s) to Alternative 3 (chip-specific) open-drain mode. More... | |
#define | PORT_MODULE_ALT3_PULLUP_EN_MODE |
Configures pin(s) to Alternative 3 mode with pull-up enabled. More... | |
#define | PORT_MODULE_ALT4_MODE |
Configures pin(s) to Alternative 4 (chip-specific) mode. More... | |
#define | PORT_MODULE_ALT4_OD_EN_MODE |
Configures pin(s) to Alternative 4 (chip-specific) open-drain mode. More... | |
#define | PORT_MODULE_ALT4_PULLUP_EN_MODE |
Configures pin(s) to Alternative 4 mode with pull-up enabled. More... | |
#define | PORT_MODULE_ALT5_MODE |
Configures pin(s) to Alternative 5 (chip-specific) mode. More... | |
#define | PORT_MODULE_ALT5_OD_EN_MODE |
Configures pin(s) to Alternative 5 (chip-specific) open-drain mode. More... | |
#define | PORT_MODULE_ALT5_PULLUP_EN_MODE |
Configures pin(s) to Alternative 5 mode with pull-up enabled. More... | |
#define | PORT_MODULE_ALT6_MODE |
Configures pin(s) to Alternative 6 (chip-specific) mode. More... | |
#define | PORT_MODULE_ALT6_OD_EN_MODE |
Configures pin(s) to Alternative 6 (chip-specific) open-drain mode. More... | |
#define | PORT_MODULE_ALT6_PULLUP_EN_MODE |
Configures pin(s) to Alternative 6 mode with pull-up enabled. More... | |
#define | PORT_MODULE_ALT7_MODE |
Configures pin(s) to Alternative 7 (chip-specific) mode. More... | |
#define | PORT_MODULE_ALT7_OD_EN_MODE |
Configures pin(s) to Alternative 7 (chip-specific) open-drain mode. More... | |
#define | PORT_MODULE_ALT7_PULLUP_EN_MODE |
Configures pin(s) to Alternative 7 mode with pull-up enabled. More... | |
#define | PORT_MODULE_BUTTON_MODE |
Configures pin(s) to Alternative 1 (GPIO) filtered mode ready for button processing using polling. More... | |
#define | PORT_MODULE_BUTTON_IRQ_MODE |
Configures pin(s) to Alternative 1 (GPIO) filtered mode ready for button processing using interrupts. More... | |
#define | PORT_MODULE_LED_MODE |
Configures pin(s) to Alternative 1 (GPIO) mode ready for controlling slow outputs such LEDs. More... | |
#define PORT_MODULE_ALT0_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT0_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_LOGIC0_IRQ_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_LOGIC1_IRQ_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_POSEDGE_IRQ_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_NEGEDGE_IRQ_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT1_ANYEDGE_IRQ_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT2_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT2_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT2_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT3_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT3_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT3_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT4_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT4_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT4_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT5_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT5_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT5_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT6_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT6_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT6_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT7_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT7_OD_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_ALT7_PULLUP_EN_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_BUTTON_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_BUTTON_IRQ_MODE |
Configures port pin(s) with the following characteristics:
#define PORT_MODULE_LED_MODE |
Configures port pin(s) with the following characteristics: