51 base->
CH[chn].
C1 = 0U;
128 uint32_t c1 = base->
CH[chn].
C1;
137 base->
CH[chn].
C1 = c1;
152 uint32_t c1 = base->
CH[chn].
C1;
161 base->
CH[chn].
C1 = c1;
176 uint32_t c1 = base->
CH[chn].
C1;
185 base->
CH[chn].
C1 = c1;
202 uint32_t s = base->
CH[chn].
S;
219 volatile uint32_t dummy_read;
222 uint32_t s = base->
CH[chn].
S;
229 dummy_read = base->
CH[chn].
S;
245 base->
CH[chn].
DLY[preChn] = value;
258 uint32_t poen = base->
POEN;
#define PDB_SC_TRGSEL_MASK
#define PDB_SC_PRESCALER_MASK
#define PDB_SC_DMAEN_MASK
void PDB_HAL_ClearAdcPreTriggerFlags(PDB_Type *const base, uint32_t chn, uint32_t preChnMask)
Clears the flag which indicates that the PDB counter has reached the pre-trigger delay value...
static void PDB_HAL_Disable(PDB_Type *const base)
Switches to disable the PDB module.
void PDB_HAL_ClearAdcPreTriggerSeqErrFlags(PDB_Type *const base, uint32_t chn, uint32_t preChnMask)
Clears the flag which indicates that a sequence error has been detected.
union PDB_Type::@17 POnDLY[PDB_POnDLY_COUNT]
#define FEATURE_PDB_ADC_PRE_CHANNEL_COUNT
Defines the type of structure for basic timer in PDB.
#define FEATURE_PDB_ADC_CHANNEL_COUNT
struct PDB_Type::@16 CH[PDB_CH_COUNT]
void PDB_HAL_Init(PDB_Type *const base)
Resets the PDB registers to a known state.
__IO uint32_t DLY[PDB_DLY_COUNT]
#define PDB_SC_LDMOD_MASK
pdb_clk_prescaler_mult_factor_t clkPreMultFactor
pdb_load_value_mode_t loadValueMode
#define FEATURE_PDB_PODLY_COUNT
#define PDB_SC_PDBEIE_MASK
void PDB_HAL_SetAdcPreTriggerDelayValue(PDB_Type *const base, uint32_t chn, uint32_t preChn, uint32_t value)
Sets the pre-trigger delay value.
void PDB_HAL_SetAdcPreTriggerOutputEnable(PDB_Type *const base, uint32_t chn, uint32_t preChnMask, bool enable)
Switches to enable the pre-trigger output.
void PDB_HAL_ConfigTimer(PDB_Type *const base, const pdb_timer_config_t *configPtr)
Configure the PDB timer.
pdb_clk_prescaler_div_t clkPreDiv
void PDB_HAL_SetCmpPulseOutEnable(PDB_Type *const base, uint32_t pulseChnMask, bool enable)
Switches to enable the pulse-out trigger.
pdb_trigger_src_t triggerInput
static void PDB_HAL_SetLoadValuesCmd(PDB_Type *const base)
Loads the delay registers value for the PDB module.
#define PDB_SC_PRESCALER(x)
#define PDB_SC_PDBIE_MASK
void PDB_HAL_SetAdcPreTriggerBackToBackEnable(PDB_Type *const base, uint32_t chn, uint32_t preChnMask, bool enable)
Switches to enable the pre-trigger back-to-back mode.
void PDB_HAL_SetAdcPreTriggerEnable(PDB_Type *const base, uint32_t chn, uint32_t preChnMask, bool enable)
Switches to enable the pre-trigger.
static void PDB_HAL_Enable(PDB_Type *const base)
Switches on to enable the PDB module.
bool continuousModeEnable