287 #if defined(__cplusplus)
303 uint32_t tmp = baseAddr->
VERID;
322 uint32_t tmp = baseAddr->
PARAM;
339 uint32_t tmp = baseAddr->
PARAM;
356 uint32_t tmp = baseAddr->
PARAM;
373 uint32_t tmp = baseAddr->
PARAM;
390 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
392 return (
bool)regValue;
407 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
410 baseAddr->
CTRL = (uint32_t)regValue;
425 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
427 return (
bool)regValue;
442 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
445 baseAddr->
CTRL = (uint32_t)regValue;
462 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
464 return (
bool)regValue;
481 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
484 baseAddr->
CTRL = (uint32_t)regValue;
499 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
501 return (
bool)regValue;
518 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
521 baseAddr->
CTRL = (uint32_t)regValue;
536 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
538 return (
bool)regValue;
553 uint32_t regValue = (uint32_t)baseAddr->
CTRL;
556 baseAddr->
CTRL = (uint32_t)regValue;
572 uint32_t tmp = baseAddr->
PIN;
597 uint32_t regValue = (uint32_t)baseAddr->
SHIFTSTAT;
598 regValue = (regValue >> shifter) & 1U;
599 return (
bool)regValue;
662 uint32_t regValue = (uint32_t)baseAddr->
SHIFTERR;
663 regValue = (regValue >> shifter) & 1U;
664 return (
bool)regValue;
703 baseAddr->
SHIFTERR = 1UL << shifter;
728 uint32_t regValue = (uint32_t)baseAddr->
TIMSTAT;
729 regValue = (regValue >> timer) & 1U;
730 return (
bool)regValue;
771 baseAddr->
TIMSTAT = 1UL << timer;
789 uint32_t regValue = (uint32_t)baseAddr->
SHIFTSIEN;
790 regValue = (regValue >> interruptNo) & 1U;
791 return (
bool)regValue;
833 tmp |= interruptMask;
837 tmp &= ~interruptMask;
857 uint32_t regValue = (uint32_t)baseAddr->
SHIFTEIEN;
858 regValue = (regValue >> interruptNo) & 1U;
859 return (
bool)regValue;
901 tmp |= interruptMask;
905 tmp &= ~interruptMask;
925 uint32_t regValue = (uint32_t)baseAddr->
TIMIEN;
926 regValue = (regValue >> interruptNo) & 1U;
927 return (
bool)regValue;
969 tmp |= interruptMask;
973 tmp &= ~interruptMask;
993 uint32_t regValue = (uint32_t)baseAddr->
SHIFTSDEN;
994 regValue = (regValue >> requestNo) & 1U;
995 return (
bool)regValue;
1024 tmp &= ~requestMask;
1048 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1074 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1104 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1133 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1161 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1182 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1204 uint32_t tmp = baseAddr->
SHIFTCTL[shifter];
1432 data = baseAddr->
SHIFTBUF[shifter];
1475 baseAddr->
SHIFTBUF[shifter] = value;
1514 uint32_t tmp = baseAddr->
TIMCTL[timer];
1547 uint32_t tmp = baseAddr->
TIMCTL[timer];
1554 baseAddr->
TIMCTL[timer] = tmp;
1579 uint32_t tmp = baseAddr->
TIMCTL[timer];
1608 uint32_t tmp = baseAddr->
TIMCTL[timer];
1615 baseAddr->
TIMCTL[timer] = tmp;
1633 uint32_t tmp = baseAddr->
TIMCTL[timer];
1664 uint32_t tmp = baseAddr->
TIMCTL[timer];
1667 baseAddr->
TIMCTL[timer] = tmp;
1724 uint32_t tmp = baseAddr->
TIMCFG[timer];
1747 uint32_t tmp = baseAddr->
TIMCFG[timer];
1750 baseAddr->
TIMCFG[timer] = tmp;
1769 uint32_t tmp = baseAddr->
TIMCFG[timer];
1793 uint32_t tmp = baseAddr->
TIMCFG[timer];
1796 baseAddr->
TIMCFG[timer] = tmp;
1815 uint32_t tmp = baseAddr->
TIMCFG[timer];
1841 uint32_t tmp = baseAddr->
TIMCFG[timer];
1844 baseAddr->
TIMCFG[timer] = tmp;
1863 uint32_t tmp = baseAddr->
TIMCFG[timer];
1886 uint32_t tmp = baseAddr->
TIMCFG[timer];
1889 baseAddr->
TIMCFG[timer] = tmp;
1909 uint32_t tmp = baseAddr->
TIMCFG[timer];
1933 uint32_t tmp = baseAddr->
TIMCFG[timer];
1936 baseAddr->
TIMCFG[timer] = tmp;
1959 uint32_t tmp = baseAddr->
TIMCFG[timer];
1986 uint32_t tmp = baseAddr->
TIMCFG[timer];
1989 baseAddr->
TIMCFG[timer] = tmp;
2010 uint32_t regValue = (uint32_t)baseAddr->
TIMCFG[timer];
2035 uint32_t regValue = (uint32_t)baseAddr->
TIMCFG[timer];
2038 baseAddr->
TIMCFG[timer] = (uint32_t)regValue;
2095 return (uint16_t)(baseAddr->
TIMCMP[timer]);
2124 baseAddr->
TIMCMP[timer] = (uint32_t)value;
2140 #if defined(__cplusplus)
flexio_timer_enable_t
Timer disable options Implements : flexio_timer_enable_t_Class.
flexio_timer_output_t
Timer initial output options Implements : flexio_timer_output_t_Class.
static void FLEXIO_HAL_SetShifterPin(FLEXIO_Type *baseAddr, uint8_t shifter, uint8_t pin, flexio_pin_polarity_t polarity, flexio_pin_config_t config)
Assigns the specified pin to the specified shifter.
#define FLEXIO_TIMCTL_TIMOD_MASK
#define FLEXIO_SHIFTCTL_PINCFG_SHIFT
__IO uint32_t SHIFTBUF[FLEXIO_SHIFTBUF_COUNT]
static void FLEXIO_HAL_SetShifterInterrupt(FLEXIO_Type *baseAddr, uint8_t interruptMask, bool enable)
Enables or disables the shifter interrupts.
static void FLEXIO_HAL_SetShifterMode(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_mode_t mode)
Sets the mode of the specified shifter.
flexio_timer_polarity_t
Shift clock polarity options Implements : flexio_timer_polarity_t_Class.
static uint16_t FLEXIO_HAL_GetTimerCompare(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the compare value of the specified timer.
#define FLEXIO_TIMCTL_TRGPOL_SHIFT
#define FLEXIO_TIMCFG_TIMRST_SHIFT
static flexio_timer_mode_t FLEXIO_HAL_GetTimerMode(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the mode of the specified timer.
static void FLEXIO_HAL_GetShifterPin(const FLEXIO_Type *baseAddr, uint8_t shifter, uint8_t *pin, flexio_pin_polarity_t *polarity, flexio_pin_config_t *config)
Returns the pin currently assigned to the specified shifter, and its configured settings.
static void FLEXIO_HAL_SetTimerDisable(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_disable_t disable)
Configures the disable condition for the specified timer.
static void FLEXIO_HAL_SetTimerControl(FLEXIO_Type *baseAddr, uint8_t timer, uint8_t trigger, flexio_trigger_polarity_t triggerPolarity, flexio_trigger_source_t triggerSource, uint8_t pin, flexio_pin_polarity_t pinPolarity, flexio_pin_config_t pinConfig, flexio_timer_mode_t mode)
Sets all control settings for specified timer.
static uint8_t FLEXIO_HAL_GetPinData(const FLEXIO_Type *baseAddr)
Returns the current input data read from the FlexIO pins.
#define FLEXIO_TIMCFG_TSTART_MASK
#define FLEXIO_PARAM_PIN_MASK
static flexio_timer_disable_t FLEXIO_HAL_GetTimerDisable(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the disable configuration of the specified timer.
#define FLEXIO_TIMCFG_TIMENA_SHIFT
__IO uint32_t TIMCMP[FLEXIO_TIMCMP_COUNT]
#define FLEXIO_PARAM_TIMER_SHIFT
static void FLEXIO_HAL_SetTimerStop(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_stop_t stop)
Configures the stop bit for the specified timer.
static bool FLEXIO_HAL_GetTimerStatus(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the current status of the specified timer.
#define FLEXIO_TIMCFG_TSTOP(x)
#define FLEXIO_TIMCTL_PINSEL_MASK
static void FLEXIO_HAL_SetTimerMode(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_mode_t mode)
Sets the mode of the specified timer.
#define FLEXIO_TIMCTL_TRGSEL(x)
#define FLEXIO_TIMCTL_TIMOD_SHIFT
flexio_timer_disable_t
Timer disable options Implements : flexio_timer_disable_t_Class.
#define FLEXIO_TIMCFG_TSTART_SHIFT
#define FLEXIO_TIMCFG_TSTOP_MASK
#define FLEXIO_TIMCFG_TIMDIS(x)
static void FLEXIO_HAL_SetTimerStart(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_start_t start)
Configures the start bit for the specified timer.
static bool FLEXIO_HAL_GetDozeMode(const FLEXIO_Type *baseAddr)
Returns the current doze mode setting.
flexio_pin_config_t
Pin configuration options Implements : flexio_pin_config_t_Class.
#define FLEXIO_CTRL_FLEXEN_SHIFT
static flexio_timer_start_t FLEXIO_HAL_GetTimerStart(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the start bit configuration of the specified timer.
static uint32_t FLEXIO_HAL_GetAllShifterStatus(const FLEXIO_Type *baseAddr)
Returns the current status flags for all shifters.
static void FLEXIO_HAL_SetShifterInputSource(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_source_t source)
Configures the input source of the specified shifter.
static uint8_t FLEXIO_HAL_GetTimerNum(const FLEXIO_Type *baseAddr)
Returns the number of timers of the FlexIO module.
static uint8_t FLEXIO_HAL_GetShifterNum(const FLEXIO_Type *baseAddr)
Returns the number of shifters of the FlexIO module.
flexio_shifter_start_t
Timer start bit options - for Transmit, Receive or Match Store modes only Implements : flexio_shifter...
static void FLEXIO_HAL_SetFastAccess(FLEXIO_Type *baseAddr, bool enable)
Configure the FlexIO fast access feature.
#define FLEXIO_TIMCTL_PINCFG(x)
static void FLEXIO_HAL_WriteShifterBuffer(FLEXIO_Type *baseAddr, uint8_t shifter, uint32_t value, flexio_shifter_buffer_mode_t mode)
Writes a value in the specified shifter buffer.
#define FLEXIO_SHIFTCTL_PINCFG(x)
static void FLEXIO_HAL_SetTimerPin(FLEXIO_Type *baseAddr, uint8_t timer, uint8_t pin, flexio_pin_polarity_t polarity, flexio_pin_config_t config)
Configures the pin for the specified timer.
__IO uint32_t SHIFTBUFBBS[FLEXIO_SHIFTBUFBBS_COUNT]
#define FLEXIO_SHIFTCTL_SMOD_MASK
static bool FLEXIO_HAL_GetDebugMode(const FLEXIO_Type *baseAddr)
Returns the current debug mode setting.
static void FLEXIO_HAL_SetShifterPinConfig(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_pin_config_t config)
Configures the pin assigned to the specified shifter.
#define FLEXIO_SHIFTCTL_TIMSEL_MASK
#define FLEXIO_VERID_FEATURE_MASK
#define FLEXIO_PIN_PDI_MASK
#define FLEXIO_TIMCTL_TRGSEL_SHIFT
static void FLEXIO_HAL_SetShifterStartBit(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_start_t start)
Configures the start bit of the specified shifter.
static void FLEXIO_HAL_ClearTimerStatus(FLEXIO_Type *baseAddr, uint8_t timer)
Clears the status of the specified timer.
#define FLEXIO_SHIFTCTL_TIMPOL(x)
#define FLEXIO_CTRL_SWRST(x)
#define FLEXIO_CTRL_DOZEN_SHIFT
#define FLEXIO_VERID_MINOR_MASK
#define FLEXIO_SHIFTCTL_TIMPOL_SHIFT
static void FLEXIO_HAL_SetSoftwareReset(FLEXIO_Type *baseAddr, bool enable)
Set/clear the FlexIO reset command.
#define FLEXIO_SHIFTCTL_TIMSEL(x)
static void FLEXIO_HAL_SetTimerInterrupt(FLEXIO_Type *baseAddr, uint8_t interruptMask, bool enable)
Enables or disables the timer interrupts.
static flexio_shifter_stop_t FLEXIO_HAL_GetShifterStopBit(const FLEXIO_Type *baseAddr, uint8_t shifter)
Returns the stop bit configuration for the specified shifter.
static void FLEXIO_HAL_SetShifterConfig(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_start_t start, flexio_shifter_stop_t stop, flexio_shifter_source_t source)
Sets all configuration settings for specified shifter.
#define FLEXIO_CTRL_FLEXEN_MASK
#define FLEXIO_TIMCFG_TIMENA_MASK
#define FLEXIO_SHIFTCTL_PINSEL(x)
static uint32_t FLEXIO_HAL_ReadShifterBuffer(const FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_buffer_mode_t mode)
Reads the value from the specified shifter buffer.
#define FLEXIO_SHIFTCTL_PINSEL_SHIFT
static bool FLEXIO_HAL_GetShifterDMARequest(const FLEXIO_Type *baseAddr, uint8_t requestNo)
Returns the current status of the shifter DMA requests.
#define FLEXIO_TIMCTL_TIMOD(x)
flexio_timer_start_t
Timer start bit options Implements : flexio_timer_start_t_Class.
FlexIO module version number Implements : flexio_version_info_t_Class.
#define FLEXIO_PARAM_SHIFTER_SHIFT
#define FLEXIO_CTRL_FASTACC_SHIFT
#define FLEXIO_TIMCTL_TRGSRC_SHIFT
#define FLEXIO_SHIFTCTL_PINPOL(x)
static void FLEXIO_HAL_GetTimerTrigger(const FLEXIO_Type *baseAddr, uint8_t timer, uint8_t *trigger, flexio_trigger_polarity_t *polarity, flexio_trigger_source_t *source)
Returns the currently configured trigger for the specified timer.
static bool FLEXIO_HAL_GetTimerInterrupt(const FLEXIO_Type *baseAddr, uint8_t interruptNo)
Returns the current status of the timer interrupts.
#define FLEXIO_TIMCTL_PINSEL_SHIFT
static void FLEXIO_HAL_SetDebugMode(FLEXIO_Type *baseAddr, bool enable)
Set the FlexIO module behavior in debug mode.
static void FLEXIO_HAL_SetTimerInitialOutput(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_output_t output)
Configures the initial output of the specified timer.
static uint8_t FLEXIO_HAL_GetPinNum(const FLEXIO_Type *baseAddr)
Returns the number of pins of the FlexIO module.
__IO uint32_t SHIFTBUFBIS[FLEXIO_SHIFTBUFBIS_COUNT]
#define FLEXIO_TIMCFG_TIMDIS_MASK
static void FLEXIO_HAL_SetShifterControl(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_mode_t mode, uint8_t pin, flexio_pin_polarity_t pinPolarity, flexio_pin_config_t pinConfig, uint8_t timer, flexio_timer_polarity_t timerPolarity)
Sets all control settings for the specified shifter.
#define FLEXIO_SHIFTCFG_INSRC_MASK
#define FLEXIO_CTRL_DBGE_MASK
#define FLEXIO_CTRL_FASTACC_MASK
#define FLEXIO_VERID_FEATURE_SHIFT
static uint32_t FLEXIO_HAL_GetAllTimerStatus(const FLEXIO_Type *baseAddr)
Returns the current status of all timers.
static void FLEXIO_HAL_GetShifterTimer(const FLEXIO_Type *baseAddr, uint8_t shifter, uint8_t *timer, flexio_timer_polarity_t *polarity)
Returns the timer currently assigned to control the specified shifter.
#define FLEXIO_TIMCFG_TIMDEC_SHIFT
#define FLEXIO_CTRL_FLEXEN(x)
#define FLEXIO_SHIFTCFG_SSTART(x)
#define FLEXIO_TIMCTL_PINCFG_MASK
static uint32_t FLEXIO_HAL_GetAllShifterErrorStatus(const FLEXIO_Type *baseAddr)
Returns the current error status for all shifters.
flexio_shifter_buffer_mode_t
Read/Write mode for shifter buffer Implements : flexio_shifter_buffer_mode_t_Class.
static void FLEXIO_HAL_GetTimerPin(const FLEXIO_Type *baseAddr, uint8_t timer, uint8_t *pin, flexio_pin_polarity_t *polarity, flexio_pin_config_t *config)
Returns the currently configured pin for the specified timer.
static flexio_timer_decrement_t FLEXIO_HAL_GetTimerDecrement(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the decrement configuration of the specified timer.
#define FLEXIO_VERID_MAJOR_SHIFT
flexio_timer_decrement_t
Timer decrement options Implements : flexio_timer_decrement_t_Class.
void FLEXIO_HAL_Init(FLEXIO_Type *baseAddr)
Initializes the FlexIO module to a known state.
#define FLEXIO_VERID_MAJOR_MASK
#define FLEXIO_TIMCFG_TIMOUT_MASK
__IO uint32_t SHIFTBUFBYS[FLEXIO_SHIFTBUFBYS_COUNT]
#define FLEXIO_SHIFTCTL_SMOD(x)
#define FLEXIO_TIMCTL_PINPOL(x)
#define FLEXIO_SHIFTCTL_TIMSEL_SHIFT
static void FLEXIO_HAL_SetTimerCompare(FLEXIO_Type *baseAddr, uint8_t timer, uint16_t value)
Configures the compare value for the specified timer.
static void FLEXIO_HAL_SetTimerTrigger(FLEXIO_Type *baseAddr, uint8_t timer, uint8_t trigger, flexio_trigger_polarity_t polarity, flexio_trigger_source_t source)
Configures the trigger for the specified timer.
static uint32_t FLEXIO_HAL_GetAllShifterErrorInterrupt(const FLEXIO_Type *baseAddr)
Returns the current status of all the shifter error interrupts.
static void FLEXIO_HAL_GetVersion(const FLEXIO_Type *baseAddr, flexio_version_info_t *versionInfo)
Reads the version of the FlexIO module.
#define FLEXIO_TIMCTL_TRGSEL_MASK
static void FLEXIO_HAL_SetShifterTimer(FLEXIO_Type *baseAddr, uint8_t shifter, uint8_t timer, flexio_timer_polarity_t polarity)
Assigns the specified timer to control the specified shifter.
#define FLEXIO_TIMCFG_TIMDIS_SHIFT
static flexio_timer_enable_t FLEXIO_HAL_GetTimerEnable(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the enable condition configuration of the specified timer.
#define FLEXIO_SHIFTCFG_SSTOP(x)
static void FLEXIO_HAL_SetTimerReset(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_reset_t reset)
Configures the reset condition for the specified timer.
#define FLEXIO_SHIFTCTL_PINPOL_SHIFT
static bool FLEXIO_HAL_GetShifterInterrupt(const FLEXIO_Type *baseAddr, uint8_t interruptNo)
Returns the current status of the shifter interrupts.
static void FLEXIO_HAL_SetTimerConfig(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_start_t start, flexio_timer_stop_t stop, flexio_timer_enable_t enable, flexio_timer_disable_t disable, flexio_timer_reset_t reset, flexio_timer_decrement_t decrement, flexio_timer_output_t output)
Sets all configuration settings for specified timer.
#define FLEXIO_SHIFTCTL_PINPOL_MASK
#define FLEXIO_SHIFTCTL_SMOD_SHIFT
#define FLEXIO_TIMCTL_PINPOL_SHIFT
#define FLEXIO_CTRL_SWRST_SHIFT
flexio_shifter_source_t
Shifter input source options Implements : flexio_shifter_source_t_Class.
static void FLEXIO_HAL_SetTimerEnable(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_enable_t enable)
Configures the enable condition for the specified timer.
#define FLEXIO_SHIFTCFG_SSTART_SHIFT
static void FLEXIO_HAL_SetTimerDecrement(FLEXIO_Type *baseAddr, uint8_t timer, flexio_timer_decrement_t decrement)
Configures the decrement condition for the specified timer.
#define FLEXIO_TIMCTL_PINPOL_MASK
static bool FLEXIO_HAL_GetShifterErrorInterrupt(const FLEXIO_Type *baseAddr, uint8_t interruptNo)
Returns the current status of the shifter error interrupts.
#define FLEXIO_VERID_MINOR_SHIFT
#define FLEXIO_TIMCFG_TIMENA(x)
#define FLEXIO_CTRL_DOZEN(x)
__IO uint32_t SHIFTCFG[FLEXIO_SHIFTCFG_COUNT]
flexio_trigger_source_t
Trigger sources Implements : flexio_trigger_source_t_Class.
#define FLEXIO_TIMCTL_PINSEL(x)
#define FLEXIO_PARAM_TIMER_MASK
static bool FLEXIO_HAL_GetEnable(const FLEXIO_Type *baseAddr)
Returns the current enable/disable setting of the FlexIO.
#define FLEXIO_TIMCFG_TIMDEC(x)
#define FLEXIO_SHIFTCTL_PINCFG_MASK
flexio_pin_polarity_t
Pin polarity options Implements : flexio_pin_polarity_t_Class.
flexio_shifter_stop_t
Timer stop bit options - for Transmit, Receive or Match Store modes only Implements : flexio_shifter_...
static bool FLEXIO_HAL_GetSoftwareReset(const FLEXIO_Type *baseAddr)
Returns the current software reset state.
#define FLEXIO_TIMCFG_TIMRST(x)
flexio_shifter_mode_t
Shifter mode options Implements : flexio_shifter_mode_t_Class.
#define FLEXIO_SHIFTCFG_INSRC_SHIFT
static void FLEXIO_HAL_SetDozeMode(FLEXIO_Type *baseAddr, bool enable)
Set the FlexIO module behavior in doze mode.
static bool FLEXIO_HAL_GetShifterStatus(const FLEXIO_Type *baseAddr, uint8_t shifter)
Returns the current status of the specified shifter.
__IO uint32_t SHIFTCTL[FLEXIO_SHIFTCTL_COUNT]
static void FLEXIO_HAL_ClearShifterErrorStatus(FLEXIO_Type *baseAddr, uint8_t shifter)
Clears the error status of the specified shifter.
#define FLEXIO_SHIFTCFG_SSTOP_MASK
#define FLEXIO_SHIFTCTL_PINSEL_MASK
#define FLEXIO_TIMCFG_TIMRST_MASK
#define FLEXIO_PARAM_TRIGGER_SHIFT
#define FLEXIO_TIMCTL_TRGPOL(x)
static void FLEXIO_HAL_SetShifterErrorInterrupt(FLEXIO_Type *baseAddr, uint8_t interruptMask, bool enable)
Enables or disables the shifter error interrupts.
#define FLEXIO_TIMCFG_TSTART(x)
#define FLEXIO_TIMCFG_TIMDEC_MASK
__IO uint32_t TIMCTL[FLEXIO_TIMCTL_COUNT]
static bool FLEXIO_HAL_GetShifterErrorStatus(const FLEXIO_Type *baseAddr, uint8_t shifter)
Returns the current error status of the specified shifter.
flexio_timer_mode_t
Timer mode options Implements : flexio_timer_mode_t_Class.
#define FLEXIO_CTRL_DBGE(x)
#define FLEXIO_TIMCTL_TRGPOL_MASK
#define FLEXIO_TIMCTL_TRGSRC(x)
#define FLEXIO_TIMCFG_TSTOP_SHIFT
#define FLEXIO_CTRL_DBGE_SHIFT
#define FLEXIO_PARAM_PIN_SHIFT
#define FLEXIO_PARAM_SHIFTER_MASK
#define FLEXIO_SHIFTCFG_INSRC(x)
static flexio_shifter_mode_t FLEXIO_HAL_GetShifterMode(const FLEXIO_Type *baseAddr, uint8_t shifter)
Returns the mode of the specified shifter.
flexio_timer_reset_t
Timer reset options Implements : flexio_timer_reset_t_Class.
static flexio_timer_reset_t FLEXIO_HAL_GetTimerReset(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the reset configuration of the specified timer.
#define FLEXIO_SHIFTCFG_SSTART_MASK
__IO uint32_t TIMCFG[FLEXIO_TIMCFG_COUNT]
static void FLEXIO_HAL_SetShifterStopBit(FLEXIO_Type *baseAddr, uint8_t shifter, flexio_shifter_stop_t stop)
Configures the stop bit of the specified shifter.
flexio_trigger_polarity_t
Trigger polarity Implements : flexio_trigger_polarity_t_Class.
static flexio_timer_output_t FLEXIO_HAL_GetTimerInitialOutput(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the initial output configuration of the specified timer.
static flexio_shifter_source_t FLEXIO_HAL_GetShifterInputSource(const FLEXIO_Type *baseAddr, uint8_t shifter)
Returns the input source of the specified shifter.
#define FLEXIO_CTRL_DOZEN_MASK
static void FLEXIO_HAL_SetEnable(FLEXIO_Type *baseAddr, bool enable)
Enables of disables the FlexIO module.
static flexio_timer_stop_t FLEXIO_HAL_GetTimerStop(const FLEXIO_Type *baseAddr, uint8_t timer)
Returns the stop bit configuration of the specified timer.
#define FLEXIO_CTRL_SWRST_MASK
#define FLEXIO_SHIFTCTL_TIMPOL_MASK
static uint32_t FLEXIO_HAL_GetAllShifterInterrupt(const FLEXIO_Type *baseAddr)
Returns the current status of all the shifter interrupts.
#define FLEXIO_TIMCTL_TRGSRC_MASK
flexio_timer_stop_t
Timer stop bit options Implements : flexio_timer_stop_t_Class.
static void FLEXIO_HAL_ClearShifterStatus(FLEXIO_Type *baseAddr, uint8_t shifter)
Clears the status of the specified shifter.
static bool FLEXIO_HAL_GetFastAccess(const FLEXIO_Type *baseAddr)
Returns the current fast access setting.
#define FLEXIO_PIN_PDI_SHIFT
#define FLEXIO_SHIFTCFG_SSTOP_SHIFT
static void FLEXIO_HAL_SetShifterDMARequest(FLEXIO_Type *baseAddr, uint8_t requestMask, bool enable)
Enables or disables the shifter DMA requests.
#define FLEXIO_PARAM_TRIGGER_MASK
#define FLEXIO_TIMCFG_TIMOUT_SHIFT
static uint8_t FLEXIO_HAL_GetTriggerNum(const FLEXIO_Type *baseAddr)
Returns the number of external triggers of the FlexIO module.
static flexio_shifter_start_t FLEXIO_HAL_GetShifterStartBit(const FLEXIO_Type *baseAddr, uint8_t shifter)
Returns the start bit configuration for the specified shifter.
static uint32_t FLEXIO_HAL_GetAllTimerInterrupt(const FLEXIO_Type *baseAddr)
Returns the current status of all the timer interrupts.
#define FLEXIO_CTRL_FASTACC(x)
#define FLEXIO_TIMCTL_PINCFG_SHIFT
#define FLEXIO_TIMCFG_TIMOUT(x)