ChibiOS/HAL
6.1.0
|
EXT Driver macros and structures. More...
#include "hal_ext_lld.h"
Go to the source code of this file.
Macros | |
EXT channel modes | |
#define | EXT_CH_MODE_EDGES_MASK 3U |
Mask of edges field. More... | |
#define | EXT_CH_MODE_DISABLED 0U |
Channel disabled. More... | |
#define | EXT_CH_MODE_RISING_EDGE 1U |
Rising edge callback. More... | |
#define | EXT_CH_MODE_FALLING_EDGE 2U |
Falling edge callback. More... | |
#define | EXT_CH_MODE_BOTH_EDGES 3U |
Both edges callback. More... | |
#define | EXT_CH_MODE_LOW_LEVEL 5U |
low level callback. More... | |
#define | EXT_CH_MODE_AUTOSTART 4U |
Channel started automatically on driver start. More... | |
Macro Functions | |
#define | extChannelEnableI(extp, channel) ext_lld_channel_enable(extp, channel) |
Enables an EXT channel. More... | |
#define | extChannelDisableI(extp, channel) ext_lld_channel_disable(extp, channel) |
Disables an EXT channel. More... | |
#define | extSetChannelMode(extp, channel, extcp) |
Changes the operation mode of a channel. More... | |
Typedefs | |
typedef struct EXTDriver | EXTDriver |
Type of a structure representing a EXT driver. More... | |
Enumerations |
Functions | |
void | extInit (void) |
EXT Driver initialization. More... | |
void | extObjectInit (EXTDriver *extp) |
Initializes the standard part of a EXTDriver structure. More... | |
void | extStart (EXTDriver *extp, const EXTConfig *config) |
Configures and activates the EXT peripheral. More... | |
void | extStop (EXTDriver *extp) |
Deactivates the EXT peripheral. More... | |
void | extChannelEnable (EXTDriver *extp, expchannel_t channel) |
Enables an EXT channel. More... | |
void | extChannelDisable (EXTDriver *extp, expchannel_t channel) |
Disables an EXT channel. More... | |
void | extSetChannelModeI (EXTDriver *extp, expchannel_t channel, const EXTChannelConfig *extcp) |
Changes the operation mode of a channel. More... | |
EXT Driver macros and structures.
Definition in file hal_ext.h.