This section describes default configuration structures for PDB channel. Create a new configuration structure if default ones don't initialize on-chip peripheral in required operating mode (see Creating Configuration Structure).
#define PDB_PTRG_DEFAULT_CONFIG |
Value:(tPDB_TRG){ \
CLR(PDB_C1_BB_MASK)|
CLR(PDB_C1_TOS_MASK)|
CLR(PDB_C1_EN_MASK) \
}
This structure sets default PDB channel/pre-trigger configuration.
#define PDB_PTRG_ON_B2BDELAYED_CONFIG |
Value:(tPDB_TRG){ \
SET(PDB_C1_BB_MASK)|
SET(PDB_C1_TOS_MASK)|
SET(PDB_C1_EN_MASK) \
}
This structure enabled back to back mode with delay.
#define PDB_PTRG_ON_B2BBYPASSED_CONFIG |
Value:(tPDB_TRG){ \
SET(PDB_C1_BB_MASK)|
CLR(PDB_C1_TOS_MASK)|
SET(PDB_C1_EN_MASK) \
}
This structure enables back to back mode without delay (bypassed).
#define PDB_PTRG_ON_DELAYED_CONFIG |
Value:(tPDB_TRG){ \
CLR(PDB_C1_BB_MASK)|
SET(PDB_C1_TOS_MASK)|
SET(PDB_C1_EN_MASK) \
}
This structure sets delayed PDB channel configuration.
#define PDB_PTRG_ON_BYPASSED_CONFIG |
Value:(tPDB_TRG){ \
CLR(PDB_C1_BB_MASK)|
CLR(PDB_C1_TOS_MASK)|
SET(PDB_C1_EN_MASK) \
}
This structure enables bypassed (without delay) PDB channel configuration.