28 #if (HAL_USE_EXT == TRUE) || defined(__DOXYGEN__) 38 #define EXT_CH_MODE_EDGES_MASK 3U 39 #define EXT_CH_MODE_DISABLED 0U 40 #define EXT_CH_MODE_RISING_EDGE 1U 41 #define EXT_CH_MODE_FALLING_EDGE 2U 42 #define EXT_CH_MODE_BOTH_EDGES 3U 43 #define EXT_CH_MODE_LOW_LEVEL 5U 45 #define EXT_CH_MODE_AUTOSTART 4U 93 #define extChannelEnableI(extp, channel) ext_lld_channel_enable(extp, channel) 103 #define extChannelDisableI(extp, channel) ext_lld_channel_disable(extp, channel) 119 #define extSetChannelMode(extp, channel, extcp) { \ 121 extSetChannelModeI(extp, channel, extcp); \ Channel configuration structure.
uint32_t expchannel_t
EXT channel identifier.
void extInit(void)
EXT Driver initialization.
void extChannelEnable(EXTDriver *extp, expchannel_t channel)
Enables an EXT channel.
const EXTConfig * config
Current configuration data.
void extStart(EXTDriver *extp, const EXTConfig *config)
Configures and activates the EXT peripheral.
void extStop(EXTDriver *extp)
Deactivates the EXT peripheral.
PLATFORM EXT subsystem low level driver header.
void extChannelDisable(EXTDriver *extp, expchannel_t channel)
Disables an EXT channel.
extstate_t
Driver state machine possible states.
Driver configuration structure.
Structure representing an EXT driver.
void extSetChannelModeI(EXTDriver *extp, expchannel_t channel, const EXTChannelConfig *extcp)
Changes the operation mode of a channel.
void extObjectInit(EXTDriver *extp)
Initializes the standard part of a EXTDriver structure.