S32 SDK
pdb_hal.c File Reference
#include "pdb_hal.h"

Go to the source code of this file.

Functions

void PDB_HAL_Init (PDB_Type *const base)
 Resets the PDB registers to a known state. More...
 
void PDB_HAL_ConfigTimer (PDB_Type *const base, const pdb_timer_config_t *configPtr)
 Configure the PDB timer. More...
 
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. More...
 
void PDB_HAL_SetAdcPreTriggerOutputEnable (PDB_Type *const base, uint32_t chn, uint32_t preChnMask, bool enable)
 Switches to enable the pre-trigger output. More...
 
void PDB_HAL_SetAdcPreTriggerEnable (PDB_Type *const base, uint32_t chn, uint32_t preChnMask, bool enable)
 Switches to enable the pre-trigger. More...
 
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. More...
 
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. More...
 
void PDB_HAL_SetAdcPreTriggerDelayValue (PDB_Type *const base, uint32_t chn, uint32_t preChn, uint32_t value)
 Sets the pre-trigger delay value. More...
 
void PDB_HAL_SetCmpPulseOutEnable (PDB_Type *const base, uint32_t pulseChnMask, bool enable)
 Switches to enable the pulse-out trigger. More...