131 #if defined(__cplusplus)
249 const uint16_t value);
260 const uint16_t value);
287 const uint32_t preChnMask);
300 const uint32_t preChnMask);
314 const uint32_t preChnMask);
327 const uint32_t preChnMask);
341 const uint32_t preChn,
342 const uint32_t value);
354 const uint32_t pulseChnMask,
367 const uint32_t pulseChn,
368 const uint32_t value);
380 const uint32_t pulseChn,
381 const uint32_t value);
383 #if defined(__cplusplus)
void PDB_DRV_ClearTimerIntFlag(const uint32_t instance)
Clears the interrupt flag.
void PDB_DRV_SetCmpPulseOutEnable(const uint32_t instance, const uint32_t pulseChnMask, bool enable)
Switches on/off the CMP pulse out in the PDB module.
void PDB_DRV_SetAdcPreTriggerDelayValue(const uint32_t instance, const uint32_t chn, const uint32_t preChn, const uint32_t value)
Sets the ADC pre_trigger delay value in the PDB module.
uint32_t adcPreTriggerIdx
pdb_clk_prescaler_mult_factor_t
Defines the type of the multiplication source mode for PDB.
pdb_trigger_src_t
Defines the type of trigger source mode for the PDB.
bool preTriggerOutputEnable
pdb_load_value_mode_t
Defines the type of value load mode for the PDB module.
void PDB_DRV_ConfigAdcPreTrigger(const uint32_t instance, const uint32_t chn, const pdb_adc_pretrigger_config_t *configPtr)
Configures the ADC pre_trigger in the PDB module.
void PDB_DRV_SetTimerModulusValue(const uint32_t instance, const uint16_t value)
Sets the value of timer modulus.
uint32_t PDB_DRV_GetAdcPreTriggerSeqErrFlags(const uint32_t instance, const uint32_t chn, const uint32_t preChnMask)
Gets the ADC pre_trigger flag in the PDB module.
uint32_t PDB_DRV_GetAdcPreTriggerFlags(const uint32_t instance, const uint32_t chn, const uint32_t preChnMask)
Gets the ADC pre_trigger flag in the PDB module.
bool preTriggerBackToBackEnable
Defines the type of structure for basic timer in PDB.
bool PDB_DRV_GetTimerIntFlag(const uint32_t instance)
Gets the PDB interrupt flag.
uint32_t PDB_DRV_GetTimerValue(const uint32_t instance)
Gets the current counter value in the PDB module.
void PDB_DRV_SetCmpPulseOutDelayForLow(const uint32_t instance, const uint32_t pulseChn, const uint32_t value)
Sets the CMP pulse out delay value for low in the PDB module.
void PDB_DRV_ClearAdcPreTriggerSeqErrFlags(const uint32_t instance, const uint32_t chn, const uint32_t preChnMask)
Clears the ADC pre_trigger flag in the PDB module.
void PDB_DRV_ClearAdcPreTriggerFlags(const uint32_t instance, const uint32_t chn, const uint32_t preChnMask)
Clears the ADC pre_trigger flag in the PDB module.
pdb_clk_prescaler_mult_factor_t clkPreMultFactor
pdb_load_value_mode_t loadValueMode
void PDB_DRV_SoftTriggerCmd(const uint32_t instance)
Triggers the PDB with a software trigger.
void PDB_DRV_SetValueForTimerInterrupt(const uint32_t instance, const uint16_t value)
Sets the value for the timer interrupt.
void PDB_DRV_LoadValuesCmd(const uint32_t instance)
Executes the command of loading values.
void PDB_DRV_Deinit(const uint32_t instance)
De-initializes the PDB module.
pdb_clk_prescaler_div_t clkPreDiv
void PDB_DRV_SetCmpPulseOutDelayForHigh(const uint32_t instance, const uint32_t pulseChn, const uint32_t value)
Sets the CMP pulse out delay value for high in the PDB module.
pdb_trigger_src_t triggerInput
void PDB_DRV_Disable(const uint32_t instance)
Disables the PDB module.
void PDB_DRV_Enable(const uint32_t instance)
Enables the PDB module.
void PDB_DRV_GetDefaultConfig(pdb_timer_config_t *const config)
Gets the default configuration structure of PDB with default settings.
void PDB_DRV_Init(const uint32_t instance, const pdb_timer_config_t *userConfigPtr)
Initializes the PDB counter and triggers input.
pdb_clk_prescaler_div_t
Defines the type of prescaler divider for the PDB counter clock. Implements : pdb_clk_prescaler_div_t...
Defines the type of structure for configuring ADC's pre_trigger.
bool continuousModeEnable