mikroSDK Reference Manual
|
Macros | |
#define | PDB0_BASE (0x40036000u) |
#define | PDB0 ((PDB_Type *)PDB0_BASE) |
#define | PDB_BASE_ADDRS { PDB0_BASE } |
#define | PDB_BASE_PTRS { PDB0 } |
#define | PDB_IRQS { PDB0_IRQn } |
#define | PDB_C1_COUNT (2U) |
#define | PDB_S_COUNT (2U) |
#define | PDB_DLY_COUNT (2U) |
#define | PDB_DLY_COUNT2 (2U) |
#define | PDB_INTC_COUNT (2U) |
#define | PDB_INT_COUNT (2U) |
#define | PDB_PODLY_COUNT (3U) |
#define | PDB_C1_COUNT (2U) |
#define | PDB_S_COUNT (2U) |
#define | PDB_DLY_COUNT (2U) |
#define | PDB_DLY_COUNT2 (2U) |
#define | PDB_INTC_COUNT (2U) |
#define | PDB_INT_COUNT (2U) |
#define | PDB_PODLY_COUNT (4U) |
#define | PDB_C1_COUNT (2U) |
#define | PDB_S_COUNT (2U) |
#define | PDB_DLY_COUNT (2U) |
#define | PDB_DLY_COUNT2 (2U) |
#define | PDB_INTC_COUNT (2U) |
#define | PDB_INT_COUNT (2U) |
#define | PDB_PODLY_COUNT (4U) |
#define | PDB_C1_COUNT (2U) |
#define | PDB_S_COUNT (2U) |
#define | PDB_DLY_COUNT (2U) |
#define | PDB_DLY_COUNT2 (2U) |
#define | PDB_INTC_COUNT (1U) |
#define | PDB_INT_COUNT (1U) |
#define | PDB_PODLY_COUNT (2U) |
SC - Status and Control register | |
#define | PDB_SC_LDOK_MASK (0x1U) |
#define | PDB_SC_LDOK_SHIFT (0U) |
#define | PDB_SC_LDOK(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDOK_SHIFT)) & PDB_SC_LDOK_MASK) |
#define | PDB_SC_CONT_MASK (0x2U) |
#define | PDB_SC_CONT_SHIFT (1U) |
#define | PDB_SC_CONT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
#define | PDB_SC_MULT_MASK (0xCU) |
#define | PDB_SC_MULT_SHIFT (2U) |
#define | PDB_SC_MULT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
#define | PDB_SC_PDBIE_MASK (0x20U) |
#define | PDB_SC_PDBIE_SHIFT (5U) |
#define | PDB_SC_PDBIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
#define | PDB_SC_PDBIF_MASK (0x40U) |
#define | PDB_SC_PDBIF_SHIFT (6U) |
#define | PDB_SC_PDBIF(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIF_SHIFT)) & PDB_SC_PDBIF_MASK) |
#define | PDB_SC_PDBEN_MASK (0x80U) |
#define | PDB_SC_PDBEN_SHIFT (7U) |
#define | PDB_SC_PDBEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
#define | PDB_SC_TRGSEL_MASK (0xF00U) |
#define | PDB_SC_TRGSEL_SHIFT (8U) |
#define | PDB_SC_TRGSEL(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
#define | PDB_SC_PRESCALER_MASK (0x7000U) |
#define | PDB_SC_PRESCALER_SHIFT (12U) |
#define | PDB_SC_PRESCALER(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
#define | PDB_SC_DMAEN_MASK (0x8000U) |
#define | PDB_SC_DMAEN_SHIFT (15U) |
#define | PDB_SC_DMAEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
#define | PDB_SC_SWTRIG_MASK (0x10000U) |
#define | PDB_SC_SWTRIG_SHIFT (16U) |
#define | PDB_SC_SWTRIG(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_SWTRIG_SHIFT)) & PDB_SC_SWTRIG_MASK) |
#define | PDB_SC_PDBEIE_MASK (0x20000U) |
#define | PDB_SC_PDBEIE_SHIFT (17U) |
#define | PDB_SC_PDBEIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
#define | PDB_SC_LDMOD_MASK (0xC0000U) |
#define | PDB_SC_LDMOD_SHIFT (18U) |
#define | PDB_SC_LDMOD(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
#define | PDB_SC_LDOK_MASK 0x1u |
#define | PDB_SC_LDOK_SHIFT 0 |
#define | PDB_SC_CONT_MASK 0x2u |
#define | PDB_SC_CONT_SHIFT 1 |
#define | PDB_SC_MULT_MASK 0xCu |
#define | PDB_SC_MULT_SHIFT 2 |
#define | PDB_SC_MULT(x) (((uint32_t)(((uint32_t)(x))<<PDB_SC_MULT_SHIFT))&PDB_SC_MULT_MASK) |
#define | PDB_SC_PDBIE_MASK 0x20u |
#define | PDB_SC_PDBIE_SHIFT 5 |
#define | PDB_SC_PDBIF_MASK 0x40u |
#define | PDB_SC_PDBIF_SHIFT 6 |
#define | PDB_SC_PDBEN_MASK 0x80u |
#define | PDB_SC_PDBEN_SHIFT 7 |
#define | PDB_SC_TRGSEL_MASK 0xF00u |
#define | PDB_SC_TRGSEL_SHIFT 8 |
#define | PDB_SC_TRGSEL(x) (((uint32_t)(((uint32_t)(x))<<PDB_SC_TRGSEL_SHIFT))&PDB_SC_TRGSEL_MASK) |
#define | PDB_SC_PRESCALER_MASK 0x7000u |
#define | PDB_SC_PRESCALER_SHIFT 12 |
#define | PDB_SC_PRESCALER(x) (((uint32_t)(((uint32_t)(x))<<PDB_SC_PRESCALER_SHIFT))&PDB_SC_PRESCALER_MASK) |
#define | PDB_SC_DMAEN_MASK 0x8000u |
#define | PDB_SC_DMAEN_SHIFT 15 |
#define | PDB_SC_SWTRIG_MASK 0x10000u |
#define | PDB_SC_SWTRIG_SHIFT 16 |
#define | PDB_SC_PDBEIE_MASK 0x20000u |
#define | PDB_SC_PDBEIE_SHIFT 17 |
#define | PDB_SC_LDMOD_MASK 0xC0000u |
#define | PDB_SC_LDMOD_SHIFT 18 |
#define | PDB_SC_LDMOD(x) (((uint32_t)(((uint32_t)(x))<<PDB_SC_LDMOD_SHIFT))&PDB_SC_LDMOD_MASK) |
#define | PDB_SC_LDOK_MASK (0x1U) |
#define | PDB_SC_LDOK_SHIFT (0U) |
#define | PDB_SC_LDOK(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDOK_SHIFT)) & PDB_SC_LDOK_MASK) |
#define | PDB_SC_CONT_MASK (0x2U) |
#define | PDB_SC_CONT_SHIFT (1U) |
#define | PDB_SC_CONT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
#define | PDB_SC_MULT_MASK (0xCU) |
#define | PDB_SC_MULT_SHIFT (2U) |
#define | PDB_SC_MULT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
#define | PDB_SC_PDBIE_MASK (0x20U) |
#define | PDB_SC_PDBIE_SHIFT (5U) |
#define | PDB_SC_PDBIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
#define | PDB_SC_PDBIF_MASK (0x40U) |
#define | PDB_SC_PDBIF_SHIFT (6U) |
#define | PDB_SC_PDBIF(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIF_SHIFT)) & PDB_SC_PDBIF_MASK) |
#define | PDB_SC_PDBEN_MASK (0x80U) |
#define | PDB_SC_PDBEN_SHIFT (7U) |
#define | PDB_SC_PDBEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
#define | PDB_SC_TRGSEL_MASK (0xF00U) |
#define | PDB_SC_TRGSEL_SHIFT (8U) |
#define | PDB_SC_TRGSEL(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
#define | PDB_SC_PRESCALER_MASK (0x7000U) |
#define | PDB_SC_PRESCALER_SHIFT (12U) |
#define | PDB_SC_PRESCALER(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
#define | PDB_SC_DMAEN_MASK (0x8000U) |
#define | PDB_SC_DMAEN_SHIFT (15U) |
#define | PDB_SC_DMAEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
#define | PDB_SC_SWTRIG_MASK (0x10000U) |
#define | PDB_SC_SWTRIG_SHIFT (16U) |
#define | PDB_SC_SWTRIG(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_SWTRIG_SHIFT)) & PDB_SC_SWTRIG_MASK) |
#define | PDB_SC_PDBEIE_MASK (0x20000U) |
#define | PDB_SC_PDBEIE_SHIFT (17U) |
#define | PDB_SC_PDBEIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
#define | PDB_SC_LDMOD_MASK (0xC0000U) |
#define | PDB_SC_LDMOD_SHIFT (18U) |
#define | PDB_SC_LDMOD(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
#define | PDB_SC_LDOK_MASK (0x1U) |
#define | PDB_SC_LDOK_SHIFT (0U) |
#define | PDB_SC_LDOK(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDOK_SHIFT)) & PDB_SC_LDOK_MASK) |
#define | PDB_SC_CONT_MASK (0x2U) |
#define | PDB_SC_CONT_SHIFT (1U) |
#define | PDB_SC_CONT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
#define | PDB_SC_MULT_MASK (0xCU) |
#define | PDB_SC_MULT_SHIFT (2U) |
#define | PDB_SC_MULT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
#define | PDB_SC_PDBIE_MASK (0x20U) |
#define | PDB_SC_PDBIE_SHIFT (5U) |
#define | PDB_SC_PDBIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
#define | PDB_SC_PDBIF_MASK (0x40U) |
#define | PDB_SC_PDBIF_SHIFT (6U) |
#define | PDB_SC_PDBIF(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIF_SHIFT)) & PDB_SC_PDBIF_MASK) |
#define | PDB_SC_PDBEN_MASK (0x80U) |
#define | PDB_SC_PDBEN_SHIFT (7U) |
#define | PDB_SC_PDBEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
#define | PDB_SC_TRGSEL_MASK (0xF00U) |
#define | PDB_SC_TRGSEL_SHIFT (8U) |
#define | PDB_SC_TRGSEL(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
#define | PDB_SC_PRESCALER_MASK (0x7000U) |
#define | PDB_SC_PRESCALER_SHIFT (12U) |
#define | PDB_SC_PRESCALER(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
#define | PDB_SC_DMAEN_MASK (0x8000U) |
#define | PDB_SC_DMAEN_SHIFT (15U) |
#define | PDB_SC_DMAEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
#define | PDB_SC_SWTRIG_MASK (0x10000U) |
#define | PDB_SC_SWTRIG_SHIFT (16U) |
#define | PDB_SC_SWTRIG(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_SWTRIG_SHIFT)) & PDB_SC_SWTRIG_MASK) |
#define | PDB_SC_PDBEIE_MASK (0x20000U) |
#define | PDB_SC_PDBEIE_SHIFT (17U) |
#define | PDB_SC_PDBEIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
#define | PDB_SC_LDMOD_MASK (0xC0000U) |
#define | PDB_SC_LDMOD_SHIFT (18U) |
#define | PDB_SC_LDMOD(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
#define | PDB_SC_LDOK_MASK (0x1U) |
#define | PDB_SC_LDOK_SHIFT (0U) |
#define | PDB_SC_LDOK(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDOK_SHIFT)) & PDB_SC_LDOK_MASK) |
#define | PDB_SC_CONT_MASK (0x2U) |
#define | PDB_SC_CONT_SHIFT (1U) |
#define | PDB_SC_CONT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
#define | PDB_SC_MULT_MASK (0xCU) |
#define | PDB_SC_MULT_SHIFT (2U) |
#define | PDB_SC_MULT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
#define | PDB_SC_PDBIE_MASK (0x20U) |
#define | PDB_SC_PDBIE_SHIFT (5U) |
#define | PDB_SC_PDBIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
#define | PDB_SC_PDBIF_MASK (0x40U) |
#define | PDB_SC_PDBIF_SHIFT (6U) |
#define | PDB_SC_PDBIF(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIF_SHIFT)) & PDB_SC_PDBIF_MASK) |
#define | PDB_SC_PDBEN_MASK (0x80U) |
#define | PDB_SC_PDBEN_SHIFT (7U) |
#define | PDB_SC_PDBEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
#define | PDB_SC_TRGSEL_MASK (0xF00U) |
#define | PDB_SC_TRGSEL_SHIFT (8U) |
#define | PDB_SC_TRGSEL(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
#define | PDB_SC_PRESCALER_MASK (0x7000U) |
#define | PDB_SC_PRESCALER_SHIFT (12U) |
#define | PDB_SC_PRESCALER(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
#define | PDB_SC_DMAEN_MASK (0x8000U) |
#define | PDB_SC_DMAEN_SHIFT (15U) |
#define | PDB_SC_DMAEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
#define | PDB_SC_SWTRIG_MASK (0x10000U) |
#define | PDB_SC_SWTRIG_SHIFT (16U) |
#define | PDB_SC_SWTRIG(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_SWTRIG_SHIFT)) & PDB_SC_SWTRIG_MASK) |
#define | PDB_SC_PDBEIE_MASK (0x20000U) |
#define | PDB_SC_PDBEIE_SHIFT (17U) |
#define | PDB_SC_PDBEIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
#define | PDB_SC_LDMOD_MASK (0xC0000U) |
#define | PDB_SC_LDMOD_SHIFT (18U) |
#define | PDB_SC_LDMOD(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
#define | PDB_SC_LDOK_MASK (0x1U) |
#define | PDB_SC_LDOK_SHIFT (0U) |
#define | PDB_SC_LDOK(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDOK_SHIFT)) & PDB_SC_LDOK_MASK) |
#define | PDB_SC_CONT_MASK (0x2U) |
#define | PDB_SC_CONT_SHIFT (1U) |
#define | PDB_SC_CONT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
#define | PDB_SC_MULT_MASK (0xCU) |
#define | PDB_SC_MULT_SHIFT (2U) |
#define | PDB_SC_MULT(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
#define | PDB_SC_PDBIE_MASK (0x20U) |
#define | PDB_SC_PDBIE_SHIFT (5U) |
#define | PDB_SC_PDBIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
#define | PDB_SC_PDBIF_MASK (0x40U) |
#define | PDB_SC_PDBIF_SHIFT (6U) |
#define | PDB_SC_PDBIF(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIF_SHIFT)) & PDB_SC_PDBIF_MASK) |
#define | PDB_SC_PDBEN_MASK (0x80U) |
#define | PDB_SC_PDBEN_SHIFT (7U) |
#define | PDB_SC_PDBEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
#define | PDB_SC_TRGSEL_MASK (0xF00U) |
#define | PDB_SC_TRGSEL_SHIFT (8U) |
#define | PDB_SC_TRGSEL(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
#define | PDB_SC_PRESCALER_MASK (0x7000U) |
#define | PDB_SC_PRESCALER_SHIFT (12U) |
#define | PDB_SC_PRESCALER(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
#define | PDB_SC_DMAEN_MASK (0x8000U) |
#define | PDB_SC_DMAEN_SHIFT (15U) |
#define | PDB_SC_DMAEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
#define | PDB_SC_SWTRIG_MASK (0x10000U) |
#define | PDB_SC_SWTRIG_SHIFT (16U) |
#define | PDB_SC_SWTRIG(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_SWTRIG_SHIFT)) & PDB_SC_SWTRIG_MASK) |
#define | PDB_SC_PDBEIE_MASK (0x20000U) |
#define | PDB_SC_PDBEIE_SHIFT (17U) |
#define | PDB_SC_PDBEIE(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
#define | PDB_SC_LDMOD_MASK (0xC0000U) |
#define | PDB_SC_LDMOD_SHIFT (18U) |
#define | PDB_SC_LDMOD(x) (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
C1 - Channel n Control register 1 | |
#define | PDB_C1_EN_MASK (0xFFU) |
#define | PDB_C1_EN_SHIFT (0U) |
#define | PDB_C1_EN(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
#define | PDB_C1_TOS_MASK (0xFF00U) |
#define | PDB_C1_TOS_SHIFT (8U) |
#define | PDB_C1_TOS(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
#define | PDB_C1_BB_MASK (0xFF0000U) |
#define | PDB_C1_BB_SHIFT (16U) |
#define | PDB_C1_BB(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
#define | PDB_C1_EN_MASK 0xFFu |
#define | PDB_C1_EN_SHIFT 0 |
#define | PDB_C1_EN(x) (((uint32_t)(((uint32_t)(x))<<PDB_C1_EN_SHIFT))&PDB_C1_EN_MASK) |
#define | PDB_C1_TOS_MASK 0xFF00u |
#define | PDB_C1_TOS_SHIFT 8 |
#define | PDB_C1_TOS(x) (((uint32_t)(((uint32_t)(x))<<PDB_C1_TOS_SHIFT))&PDB_C1_TOS_MASK) |
#define | PDB_C1_BB_MASK 0xFF0000u |
#define | PDB_C1_BB_SHIFT 16 |
#define | PDB_C1_BB(x) (((uint32_t)(((uint32_t)(x))<<PDB_C1_BB_SHIFT))&PDB_C1_BB_MASK) |
#define | PDB_C1_EN_MASK (0xFFU) |
#define | PDB_C1_EN_SHIFT (0U) |
#define | PDB_C1_EN(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
#define | PDB_C1_TOS_MASK (0xFF00U) |
#define | PDB_C1_TOS_SHIFT (8U) |
#define | PDB_C1_TOS(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
#define | PDB_C1_BB_MASK (0xFF0000U) |
#define | PDB_C1_BB_SHIFT (16U) |
#define | PDB_C1_BB(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
#define | PDB_C1_EN_MASK (0xFFU) |
#define | PDB_C1_EN_SHIFT (0U) |
#define | PDB_C1_EN(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
#define | PDB_C1_TOS_MASK (0xFF00U) |
#define | PDB_C1_TOS_SHIFT (8U) |
#define | PDB_C1_TOS(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
#define | PDB_C1_BB_MASK (0xFF0000U) |
#define | PDB_C1_BB_SHIFT (16U) |
#define | PDB_C1_BB(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
#define | PDB_C1_EN_MASK (0xFFU) |
#define | PDB_C1_EN_SHIFT (0U) |
#define | PDB_C1_EN(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
#define | PDB_C1_TOS_MASK (0xFF00U) |
#define | PDB_C1_TOS_SHIFT (8U) |
#define | PDB_C1_TOS(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
#define | PDB_C1_BB_MASK (0xFF0000U) |
#define | PDB_C1_BB_SHIFT (16U) |
#define | PDB_C1_BB(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
#define | PDB_C1_EN_MASK (0xFFU) |
#define | PDB_C1_EN_SHIFT (0U) |
#define | PDB_C1_EN(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
#define | PDB_C1_TOS_MASK (0xFF00U) |
#define | PDB_C1_TOS_SHIFT (8U) |
#define | PDB_C1_TOS(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
#define | PDB_C1_BB_MASK (0xFF0000U) |
#define | PDB_C1_BB_SHIFT (16U) |
#define | PDB_C1_BB(x) (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
C1 - Channel n Control Register 1 | |
#define | PDB_C1_COUNT (2U) |
S - Channel n Status register | |
#define | PDB_S_ERR_MASK (0xFFU) |
#define | PDB_S_ERR_SHIFT (0U) |
#define | PDB_S_ERR(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
#define | PDB_S_CF_MASK (0xFF0000U) |
#define | PDB_S_CF_SHIFT (16U) |
#define | PDB_S_CF(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_CF_SHIFT)) & PDB_S_CF_MASK) |
#define | PDB_S_ERR_MASK 0xFFu |
#define | PDB_S_ERR_SHIFT 0 |
#define | PDB_S_ERR(x) (((uint32_t)(((uint32_t)(x))<<PDB_S_ERR_SHIFT))&PDB_S_ERR_MASK) |
#define | PDB_S_CF_MASK 0xFF0000u |
#define | PDB_S_CF_SHIFT 16 |
#define | PDB_S_CF(x) (((uint32_t)(((uint32_t)(x))<<PDB_S_CF_SHIFT))&PDB_S_CF_MASK) |
#define | PDB_S_ERR_MASK (0xFFU) |
#define | PDB_S_ERR_SHIFT (0U) |
#define | PDB_S_ERR(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
#define | PDB_S_CF_MASK (0xFF0000U) |
#define | PDB_S_CF_SHIFT (16U) |
#define | PDB_S_CF(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_CF_SHIFT)) & PDB_S_CF_MASK) |
#define | PDB_S_ERR_MASK (0xFFU) |
#define | PDB_S_ERR_SHIFT (0U) |
#define | PDB_S_ERR(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
#define | PDB_S_CF_MASK (0xFF0000U) |
#define | PDB_S_CF_SHIFT (16U) |
#define | PDB_S_CF(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_CF_SHIFT)) & PDB_S_CF_MASK) |
#define | PDB_S_ERR_MASK (0xFFU) |
#define | PDB_S_ERR_SHIFT (0U) |
#define | PDB_S_ERR(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
#define | PDB_S_CF_MASK (0xFF0000U) |
#define | PDB_S_CF_SHIFT (16U) |
#define | PDB_S_CF(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_CF_SHIFT)) & PDB_S_CF_MASK) |
#define | PDB_S_ERR_MASK (0xFFU) |
#define | PDB_S_ERR_SHIFT (0U) |
#define | PDB_S_ERR(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
#define | PDB_S_CF_MASK (0xFF0000U) |
#define | PDB_S_CF_SHIFT (16U) |
#define | PDB_S_CF(x) (((uint32_t)(((uint32_t)(x)) << PDB_S_CF_SHIFT)) & PDB_S_CF_MASK) |
S - Channel n Status Register | |
#define | PDB_S_COUNT (2U) |
DLY - Channel n Delay 0 Register..Channel n Delay 1 Register | |
#define | PDB_DLY_COUNT (2U) |
#define | PDB_DLY_COUNT2 (2U) |
INTC - DAC Interval Trigger n Control register | |
#define | PDB_INTC_TOE_MASK (0x1U) |
#define | PDB_INTC_TOE_SHIFT (0U) |
#define | PDB_INTC_TOE(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
#define | PDB_INTC_EXT_MASK (0x2U) |
#define | PDB_INTC_EXT_SHIFT (1U) |
#define | PDB_INTC_EXT(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
#define | PDB_INTC_TOE_MASK 0x1u |
#define | PDB_INTC_TOE_SHIFT 0 |
#define | PDB_INTC_EXT_MASK 0x2u |
#define | PDB_INTC_EXT_SHIFT 1 |
#define | PDB_INTC_TOE_MASK (0x1U) |
#define | PDB_INTC_TOE_SHIFT (0U) |
#define | PDB_INTC_TOE(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
#define | PDB_INTC_EXT_MASK (0x2U) |
#define | PDB_INTC_EXT_SHIFT (1U) |
#define | PDB_INTC_EXT(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
#define | PDB_INTC_TOE_MASK (0x1U) |
#define | PDB_INTC_TOE_SHIFT (0U) |
#define | PDB_INTC_TOE(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
#define | PDB_INTC_EXT_MASK (0x2U) |
#define | PDB_INTC_EXT_SHIFT (1U) |
#define | PDB_INTC_EXT(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
#define | PDB_INTC_TOE_MASK (0x1U) |
#define | PDB_INTC_TOE_SHIFT (0U) |
#define | PDB_INTC_TOE(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
#define | PDB_INTC_EXT_MASK (0x2U) |
#define | PDB_INTC_EXT_SHIFT (1U) |
#define | PDB_INTC_EXT(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
#define | PDB_INTC_TOE_MASK (0x1U) |
#define | PDB_INTC_TOE_SHIFT (0U) |
#define | PDB_INTC_TOE(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
#define | PDB_INTC_EXT_MASK (0x2U) |
#define | PDB_INTC_EXT_SHIFT (1U) |
#define | PDB_INTC_EXT(x) (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
INTC - DAC Interval Trigger n Control Register | |
#define | PDB_INTC_COUNT (2U) |
INT - DAC Interval n Register | |
#define | PDB_INT_COUNT (2U) |
POEN - Pulse-Out n Enable register | |
#define | PDB_POEN_POEN_MASK (0xFFU) |
#define | PDB_POEN_POEN_SHIFT (0U) |
#define | PDB_POEN_POEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
#define | PDB_POEN_POEN_MASK 0xFFu |
#define | PDB_POEN_POEN_SHIFT 0 |
#define | PDB_POEN_POEN(x) (((uint32_t)(((uint32_t)(x))<<PDB_POEN_POEN_SHIFT))&PDB_POEN_POEN_MASK) |
#define | PDB_POEN_POEN_MASK (0xFFU) |
#define | PDB_POEN_POEN_SHIFT (0U) |
#define | PDB_POEN_POEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
#define | PDB_POEN_POEN_MASK (0xFFU) |
#define | PDB_POEN_POEN_SHIFT (0U) |
#define | PDB_POEN_POEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
#define | PDB_POEN_POEN_MASK (0xFFU) |
#define | PDB_POEN_POEN_SHIFT (0U) |
#define | PDB_POEN_POEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
#define | PDB_POEN_POEN_MASK (0xFFU) |
#define | PDB_POEN_POEN_SHIFT (0U) |
#define | PDB_POEN_POEN(x) (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
PODLY - Pulse-Out n Delay Register | |
#define | PDB_PODLY_COUNT (3U) |
#define PDB0_BASE (0x40036000u) |
Peripheral PDB0 base address
#define PDB_BASE_ADDRS { PDB0_BASE } |
Array initializer of PDB peripheral base addresses
#define PDB_BASE_PTRS { PDB0 } |
Array initializer of PDB peripheral base pointers
#define PDB_C1_BB | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
BB - PDB Channel Pre-Trigger Back-to-Back Operation Enable 0b00000000..PDB channel's corresponding pre-trigger back-to-back operation disabled. 0b00000001..PDB channel's corresponding pre-trigger back-to-back operation enabled.
#define PDB_C1_BB | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_C1_BB_SHIFT))&PDB_C1_BB_MASK) |
BB - PDB Channel Pre-Trigger Back-to-Back Operation Enable 0b00000000..PDB channel's corresponding pre-trigger back-to-back operation disabled. 0b00000001..PDB channel's corresponding pre-trigger back-to-back operation enabled.
#define PDB_C1_BB | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
BB - PDB Channel Pre-Trigger Back-to-Back Operation Enable 0b00000000..PDB channel's corresponding pre-trigger back-to-back operation disabled. 0b00000001..PDB channel's corresponding pre-trigger back-to-back operation enabled.
#define PDB_C1_BB | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
BB - PDB Channel Pre-Trigger Back-to-Back Operation Enable 0b00000000..PDB channel's corresponding pre-trigger back-to-back operation disabled. 0b00000001..PDB channel's corresponding pre-trigger back-to-back operation enabled.
#define PDB_C1_BB | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
BB - PDB Channel Pre-Trigger Back-to-Back Operation Enable 0b00000000..PDB channel's corresponding pre-trigger back-to-back operation disabled. 0b00000001..PDB channel's corresponding pre-trigger back-to-back operation enabled.
#define PDB_C1_BB | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_BB_SHIFT)) & PDB_C1_BB_MASK) |
BB - PDB Channel Pre-Trigger Back-to-Back Operation Enable 0b00000000..PDB channel's corresponding pre-trigger back-to-back operation disabled. 0b00000001..PDB channel's corresponding pre-trigger back-to-back operation enabled.
#define PDB_C1_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
EN - PDB Channel Pre-Trigger Enable 0b00000000..PDB channel's corresponding pre-trigger disabled. 0b00000001..PDB channel's corresponding pre-trigger enabled.
#define PDB_C1_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_C1_EN_SHIFT))&PDB_C1_EN_MASK) |
EN - PDB Channel Pre-Trigger Enable 0b00000000..PDB channel's corresponding pre-trigger disabled. 0b00000001..PDB channel's corresponding pre-trigger enabled.
#define PDB_C1_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
EN - PDB Channel Pre-Trigger Enable 0b00000000..PDB channel's corresponding pre-trigger disabled. 0b00000001..PDB channel's corresponding pre-trigger enabled.
#define PDB_C1_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
EN - PDB Channel Pre-Trigger Enable 0b00000000..PDB channel's corresponding pre-trigger disabled. 0b00000001..PDB channel's corresponding pre-trigger enabled.
#define PDB_C1_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
EN - PDB Channel Pre-Trigger Enable 0b00000000..PDB channel's corresponding pre-trigger disabled. 0b00000001..PDB channel's corresponding pre-trigger enabled.
#define PDB_C1_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_EN_SHIFT)) & PDB_C1_EN_MASK) |
EN - PDB Channel Pre-Trigger Enable 0b00000000..PDB channel's corresponding pre-trigger disabled. 0b00000001..PDB channel's corresponding pre-trigger enabled.
#define PDB_C1_TOS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
TOS - PDB Channel Pre-Trigger Output Select 0b00000000..PDB channel's corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b00000001..PDB channel's corresponding pre-trigger asserts when the counter reaches the channel delay register and one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.
#define PDB_C1_TOS | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_C1_TOS_SHIFT))&PDB_C1_TOS_MASK) |
TOS - PDB Channel Pre-Trigger Output Select 0b00000000..PDB channel's corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b00000001..PDB channel's corresponding pre-trigger asserts when the counter reaches the channel delay register and one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.
#define PDB_C1_TOS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
TOS - PDB Channel Pre-Trigger Output Select 0b00000000..PDB channel's corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b00000001..PDB channel's corresponding pre-trigger asserts when the counter reaches the channel delay register and one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.
#define PDB_C1_TOS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
TOS - PDB Channel Pre-Trigger Output Select 0b00000000..PDB channel's corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b00000001..PDB channel's corresponding pre-trigger asserts when the counter reaches the channel delay register and one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.
#define PDB_C1_TOS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
TOS - PDB Channel Pre-Trigger Output Select 0b00000000..PDB channel's corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b00000001..PDB channel's corresponding pre-trigger asserts when the counter reaches the channel delay register and one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.
#define PDB_C1_TOS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_C1_TOS_SHIFT)) & PDB_C1_TOS_MASK) |
TOS - PDB Channel Pre-Trigger Output Select 0b00000000..PDB channel's corresponding pre-trigger is in bypassed mode. The pre-trigger asserts one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b00000001..PDB channel's corresponding pre-trigger asserts when the counter reaches the channel delay register and one peripheral clock cycle after a rising edge is detected on selected trigger input source or software trigger is selected and SETRIG is written with 1.
#define PDB_INTC_EXT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and counting starts when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and started counting when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
#define PDB_INTC_EXT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and counting starts when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and started counting when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
#define PDB_INTC_EXT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and counting starts when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and started counting when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
#define PDB_INTC_EXT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and counting starts when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and started counting when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
#define PDB_INTC_EXT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_EXT_SHIFT)) & PDB_INTC_EXT_MASK) |
EXT - DAC External Trigger Input Enable 0b0..DAC external trigger input disabled. DAC interval counter is reset and started counting when a rising edge is detected on selected trigger input source or software trigger is selected and SWTRIG is written with 1. 0b1..DAC external trigger input enabled. DAC interval counter is bypassed and DAC external trigger input triggers the DAC interval trigger.
#define PDB_INTC_TOE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
TOE - DAC Interval Trigger Enable 0b0..DAC interval trigger disabled. 0b1..DAC interval trigger enabled.
#define PDB_INTC_TOE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
TOE - DAC Interval Trigger Enable 0b0..DAC interval trigger disabled. 0b1..DAC interval trigger enabled.
#define PDB_INTC_TOE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
TOE - DAC Interval Trigger Enable 0b0..DAC interval trigger disabled. 0b1..DAC interval trigger enabled.
#define PDB_INTC_TOE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
TOE - DAC Interval Trigger Enable 0b0..DAC interval trigger disabled. 0b1..DAC interval trigger enabled.
#define PDB_INTC_TOE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_INTC_TOE_SHIFT)) & PDB_INTC_TOE_MASK) |
TOE - DAC Interval Trigger Enable 0b0..DAC interval trigger disabled. 0b1..DAC interval trigger enabled.
#define PDB_IRQS { PDB0_IRQn } |
Interrupt vectors for the PDB peripheral type
#define PDB_POEN_POEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
POEN - PDB Pulse-Out Enable 0b00000000..PDB Pulse-Out disabled 0b00000001..PDB Pulse-Out enabled
#define PDB_POEN_POEN | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_POEN_POEN_SHIFT))&PDB_POEN_POEN_MASK) |
POEN - PDB Pulse-Out Enable 0b00000000..PDB Pulse-Out disabled 0b00000001..PDB Pulse-Out enabled
#define PDB_POEN_POEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
POEN - PDB Pulse-Out Enable 0b00000000..PDB Pulse-Out disabled 0b00000001..PDB Pulse-Out enabled
#define PDB_POEN_POEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
POEN - PDB Pulse-Out Enable 0b00000000..PDB Pulse-Out disabled 0b00000001..PDB Pulse-Out enabled
#define PDB_POEN_POEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
POEN - PDB Pulse-Out Enable 0b00000000..PDB Pulse-Out disabled 0b00000001..PDB Pulse-Out enabled
#define PDB_POEN_POEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_POEN_POEN_SHIFT)) & PDB_POEN_POEN_MASK) |
POEN - PDB Pulse-Out Enable 0b00000000..PDB Pulse-Out disabled 0b00000001..PDB Pulse-Out enabled
#define PDB_S_ERR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
ERR - PDB Channel Sequence Error Flags 0b00000000..Sequence error not detected on PDB channel's corresponding pre-trigger. 0b00000001..Sequence error detected on PDB channel's corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel's corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 0's to clear the sequence error flags.
#define PDB_S_ERR | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_S_ERR_SHIFT))&PDB_S_ERR_MASK) |
ERR - PDB Channel Sequence Error Flags 0b00000000..Sequence error not detected on PDB channel's corresponding pre-trigger. 0b00000001..Sequence error detected on PDB channel's corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel's corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 0's to clear the sequence error flags.
#define PDB_S_ERR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
ERR - PDB Channel Sequence Error Flags 0b00000000..Sequence error not detected on PDB channel's corresponding pre-trigger. 0b00000001..Sequence error detected on PDB channel's corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel's corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 0's to clear the sequence error flags.
#define PDB_S_ERR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
ERR - PDB Channel Sequence Error Flags 0b00000000..Sequence error not detected on PDB channel's corresponding pre-trigger. 0b00000001..Sequence error detected on PDB channel's corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel's corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 0's to clear the sequence error flags.
#define PDB_S_ERR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
ERR - PDB Channel Sequence Error Flags 0b00000000..Sequence error not detected on PDB channel's corresponding pre-trigger. 0b00000001..Sequence error detected on PDB channel's corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel's corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 0's to clear the sequence error flags.
#define PDB_S_ERR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_S_ERR_SHIFT)) & PDB_S_ERR_MASK) |
ERR - PDB Channel Sequence Error Flags 0b00000000..Sequence error not detected on PDB channel's corresponding pre-trigger. 0b00000001..Sequence error detected on PDB channel's corresponding pre-trigger. ADCn block can be triggered for a conversion by one pre-trigger from PDB channel n. When one conversion, which is triggered by one of the pre-triggers from PDB channel n, is in progress, new trigger from PDB channel's corresponding pre-trigger m cannot be accepted by ADCn, and ERR[m] is set. Writing 0's to clear the sequence error flags.
#define PDB_SC_CONT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
CONT - Continuous Mode Enable 0b0..PDB operation in One-Shot mode 0b1..PDB operation in Continuous mode
#define PDB_SC_CONT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
CONT - Continuous Mode Enable 0b0..PDB operation in One-Shot mode 0b1..PDB operation in Continuous mode
#define PDB_SC_CONT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
CONT - Continuous Mode Enable 0b0..PDB operation in One-Shot mode 0b1..PDB operation in Continuous mode
#define PDB_SC_CONT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
CONT - Continuous Mode Enable 0b0..PDB operation in One-Shot mode 0b1..PDB operation in Continuous mode
#define PDB_SC_CONT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_CONT_SHIFT)) & PDB_SC_CONT_MASK) |
CONT - Continuous Mode Enable 0b0..PDB operation in One-Shot mode 0b1..PDB operation in Continuous mode
#define PDB_SC_DMAEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
DMAEN - DMA Enable 0b0..DMA disabled. 0b1..DMA enabled.
#define PDB_SC_DMAEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
DMAEN - DMA Enable 0b0..DMA disabled. 0b1..DMA enabled.
#define PDB_SC_DMAEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
DMAEN - DMA Enable 0b0..DMA disabled. 0b1..DMA enabled.
#define PDB_SC_DMAEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
DMAEN - DMA Enable 0b0..DMA disabled. 0b1..DMA enabled.
#define PDB_SC_DMAEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_DMAEN_SHIFT)) & PDB_SC_DMAEN_MASK) |
DMAEN - DMA Enable 0b0..DMA disabled. 0b1..DMA enabled.
#define PDB_SC_LDMOD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
LDMOD - Load Mode Select 0b00..The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 0b01..The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 0b10..The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 0b11..The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.
#define PDB_SC_LDMOD | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_SC_LDMOD_SHIFT))&PDB_SC_LDMOD_MASK) |
LDMOD - Load Mode Select 0b00..The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 0b01..The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 0b10..The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 0b11..The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.
#define PDB_SC_LDMOD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
LDMOD - Load Mode Select 0b00..The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 0b01..The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 0b10..The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 0b11..The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.
#define PDB_SC_LDMOD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
LDMOD - Load Mode Select 0b00..The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 0b01..The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 0b10..The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 0b11..The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.
#define PDB_SC_LDMOD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
LDMOD - Load Mode Select 0b00..The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 0b01..The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 0b10..The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 0b11..The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.
#define PDB_SC_LDMOD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_LDMOD_SHIFT)) & PDB_SC_LDMOD_MASK) |
LDMOD - Load Mode Select 0b00..The internal registers are loaded with the values from their buffers immediately after 1 is written to LDOK. 0b01..The internal registers are loaded with the values from their buffers when the PDB counter reaches the MOD register value after 1 is written to LDOK. 0b10..The internal registers are loaded with the values from their buffers when a trigger input event is detected after 1 is written to LDOK. 0b11..The internal registers are loaded with the values from their buffers when either the PDB counter reaches the MOD register value or a trigger input event is detected, after 1 is written to LDOK.
#define PDB_SC_MULT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
MULT - Multiplication Factor Select for Prescaler 0b00..Multiplication factor is 1. 0b01..Multiplication factor is 10. 0b10..Multiplication factor is 20. 0b11..Multiplication factor is 40.
#define PDB_SC_MULT | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_SC_MULT_SHIFT))&PDB_SC_MULT_MASK) |
MULT - Multiplication Factor Select for Prescaler 0b00..Multiplication factor is 1. 0b01..Multiplication factor is 10. 0b10..Multiplication factor is 20. 0b11..Multiplication factor is 40.
#define PDB_SC_MULT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
MULT - Multiplication Factor Select for Prescaler 0b00..Multiplication factor is 1. 0b01..Multiplication factor is 10. 0b10..Multiplication factor is 20. 0b11..Multiplication factor is 40.
#define PDB_SC_MULT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
MULT - Multiplication Factor Select for Prescaler 0b00..Multiplication factor is 1. 0b01..Multiplication factor is 10. 0b10..Multiplication factor is 20. 0b11..Multiplication factor is 40.
#define PDB_SC_MULT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
MULT - Multiplication Factor Select for Prescaler 0b00..Multiplication factor is 1. 0b01..Multiplication factor is 10. 0b10..Multiplication factor is 20. 0b11..Multiplication factor is 40.
#define PDB_SC_MULT | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_MULT_SHIFT)) & PDB_SC_MULT_MASK) |
MULT - Multiplication Factor Select for Prescaler 0b00..Multiplication factor is 1. 0b01..Multiplication factor is 10. 0b10..Multiplication factor is 20. 0b11..Multiplication factor is 40.
#define PDB_SC_PDBEIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
PDBEIE - PDB Sequence Error Interrupt Enable 0b0..PDB sequence error interrupt disabled. 0b1..PDB sequence error interrupt enabled.
#define PDB_SC_PDBEIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
PDBEIE - PDB Sequence Error Interrupt Enable 0b0..PDB sequence error interrupt disabled. 0b1..PDB sequence error interrupt enabled.
#define PDB_SC_PDBEIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
PDBEIE - PDB Sequence Error Interrupt Enable 0b0..PDB sequence error interrupt disabled. 0b1..PDB sequence error interrupt enabled.
#define PDB_SC_PDBEIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
PDBEIE - PDB Sequence Error Interrupt Enable 0b0..PDB sequence error interrupt disabled. 0b1..PDB sequence error interrupt enabled.
#define PDB_SC_PDBEIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEIE_SHIFT)) & PDB_SC_PDBEIE_MASK) |
PDBEIE - PDB Sequence Error Interrupt Enable 0b0..PDB sequence error interrupt disabled. 0b1..PDB sequence error interrupt enabled.
#define PDB_SC_PDBEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
PDBEN - PDB Enable 0b0..PDB disabled. Counter is off. 0b1..PDB enabled.
#define PDB_SC_PDBEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
PDBEN - PDB Enable 0b0..PDB disabled. Counter is off. 0b1..PDB enabled.
#define PDB_SC_PDBEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
PDBEN - PDB Enable 0b0..PDB disabled. Counter is off. 0b1..PDB enabled.
#define PDB_SC_PDBEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
PDBEN - PDB Enable 0b0..PDB disabled. Counter is off. 0b1..PDB enabled.
#define PDB_SC_PDBEN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBEN_SHIFT)) & PDB_SC_PDBEN_MASK) |
PDBEN - PDB Enable 0b0..PDB disabled. Counter is off. 0b1..PDB enabled.
#define PDB_SC_PDBIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
PDBIE - PDB Interrupt Enable 0b0..PDB interrupt disabled. 0b1..PDB interrupt enabled.
#define PDB_SC_PDBIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
PDBIE - PDB Interrupt Enable 0b0..PDB interrupt disabled. 0b1..PDB interrupt enabled.
#define PDB_SC_PDBIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
PDBIE - PDB Interrupt Enable 0b0..PDB interrupt disabled. 0b1..PDB interrupt enabled.
#define PDB_SC_PDBIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
PDBIE - PDB Interrupt Enable 0b0..PDB interrupt disabled. 0b1..PDB interrupt enabled.
#define PDB_SC_PDBIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PDBIE_SHIFT)) & PDB_SC_PDBIE_MASK) |
PDBIE - PDB Interrupt Enable 0b0..PDB interrupt disabled. 0b1..PDB interrupt enabled.
#define PDB_SC_PRESCALER | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
PRESCALER - Prescaler Divider Select 0b000..Counting uses the peripheral clock divided by multiplication factor selected by MULT. 0b001..Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 0b010..Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 0b011..Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 0b100..Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 0b101..Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 0b110..Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 0b111..Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.
#define PDB_SC_PRESCALER | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_SC_PRESCALER_SHIFT))&PDB_SC_PRESCALER_MASK) |
PRESCALER - Prescaler Divider Select 0b000..Counting uses the peripheral clock divided by multiplication factor selected by MULT. 0b001..Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 0b010..Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 0b011..Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 0b100..Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 0b101..Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 0b110..Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 0b111..Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.
#define PDB_SC_PRESCALER | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
PRESCALER - Prescaler Divider Select 0b000..Counting uses the peripheral clock divided by multiplication factor selected by MULT. 0b001..Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 0b010..Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 0b011..Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 0b100..Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 0b101..Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 0b110..Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 0b111..Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.
#define PDB_SC_PRESCALER | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
PRESCALER - Prescaler Divider Select 0b000..Counting uses the peripheral clock divided by multiplication factor selected by MULT. 0b001..Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 0b010..Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 0b011..Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 0b100..Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 0b101..Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 0b110..Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 0b111..Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.
#define PDB_SC_PRESCALER | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
PRESCALER - Prescaler Divider Select 0b000..Counting uses the peripheral clock divided by multiplication factor selected by MULT. 0b001..Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 0b010..Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 0b011..Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 0b100..Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 0b101..Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 0b110..Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 0b111..Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.
#define PDB_SC_PRESCALER | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_PRESCALER_SHIFT)) & PDB_SC_PRESCALER_MASK) |
PRESCALER - Prescaler Divider Select 0b000..Counting uses the peripheral clock divided by multiplication factor selected by MULT. 0b001..Counting uses the peripheral clock divided by twice of the multiplication factor selected by MULT. 0b010..Counting uses the peripheral clock divided by four times of the multiplication factor selected by MULT. 0b011..Counting uses the peripheral clock divided by eight times of the multiplication factor selected by MULT. 0b100..Counting uses the peripheral clock divided by 16 times of the multiplication factor selected by MULT. 0b101..Counting uses the peripheral clock divided by 32 times of the multiplication factor selected by MULT. 0b110..Counting uses the peripheral clock divided by 64 times of the multiplication factor selected by MULT. 0b111..Counting uses the peripheral clock divided by 128 times of the multiplication factor selected by MULT.
#define PDB_SC_TRGSEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
TRGSEL - Trigger Input Source Select 0b0000..Trigger-In 0 is selected. 0b0001..Trigger-In 1 is selected. 0b0010..Trigger-In 2 is selected. 0b0011..Trigger-In 3 is selected. 0b0100..Trigger-In 4 is selected. 0b0101..Trigger-In 5 is selected. 0b0110..Trigger-In 6 is selected. 0b0111..Trigger-In 7 is selected. 0b1000..Trigger-In 8 is selected. 0b1001..Trigger-In 9 is selected. 0b1010..Trigger-In 10 is selected. 0b1011..Trigger-In 11 is selected. 0b1100..Trigger-In 12 is selected. 0b1101..Trigger-In 13 is selected. 0b1110..Trigger-In 14 is selected. 0b1111..Software trigger is selected.
#define PDB_SC_TRGSEL | ( | x | ) | (((uint32_t)(((uint32_t)(x))<<PDB_SC_TRGSEL_SHIFT))&PDB_SC_TRGSEL_MASK) |
TRGSEL - Trigger Input Source Select 0b0000..Trigger-In 0 is selected. 0b0001..Trigger-In 1 is selected. 0b0010..Trigger-In 2 is selected. 0b0011..Trigger-In 3 is selected. 0b0100..Trigger-In 4 is selected. 0b0101..Trigger-In 5 is selected. 0b0110..Trigger-In 6 is selected. 0b0111..Trigger-In 7 is selected. 0b1000..Trigger-In 8 is selected. 0b1001..Trigger-In 9 is selected. 0b1010..Trigger-In 10 is selected. 0b1011..Trigger-In 11 is selected. 0b1100..Trigger-In 12 is selected. 0b1101..Trigger-In 13 is selected. 0b1110..Trigger-In 14 is selected. 0b1111..Software trigger is selected.
#define PDB_SC_TRGSEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
TRGSEL - Trigger Input Source Select 0b0000..Trigger-In 0 is selected. 0b0001..Trigger-In 1 is selected. 0b0010..Trigger-In 2 is selected. 0b0011..Trigger-In 3 is selected. 0b0100..Trigger-In 4 is selected. 0b0101..Trigger-In 5 is selected. 0b0110..Trigger-In 6 is selected. 0b0111..Trigger-In 7 is selected. 0b1000..Trigger-In 8 is selected. 0b1001..Trigger-In 9 is selected. 0b1010..Trigger-In 10 is selected. 0b1011..Trigger-In 11 is selected. 0b1100..Trigger-In 12 is selected. 0b1101..Trigger-In 13 is selected. 0b1110..Trigger-In 14 is selected. 0b1111..Software trigger is selected.
#define PDB_SC_TRGSEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
TRGSEL - Trigger Input Source Select 0b0000..Trigger-In 0 is selected. 0b0001..Trigger-In 1 is selected. 0b0010..Trigger-In 2 is selected. 0b0011..Trigger-In 3 is selected. 0b0100..Trigger-In 4 is selected. 0b0101..Trigger-In 5 is selected. 0b0110..Trigger-In 6 is selected. 0b0111..Trigger-In 7 is selected. 0b1000..Trigger-In 8 is selected. 0b1001..Trigger-In 9 is selected. 0b1010..Trigger-In 10 is selected. 0b1011..Trigger-In 11 is selected. 0b1100..Trigger-In 12 is selected. 0b1101..Trigger-In 13 is selected. 0b1110..Trigger-In 14 is selected. 0b1111..Software trigger is selected.
#define PDB_SC_TRGSEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
TRGSEL - Trigger Input Source Select 0b0000..Trigger-In 0 is selected. 0b0001..Trigger-In 1 is selected. 0b0010..Trigger-In 2 is selected. 0b0011..Trigger-In 3 is selected. 0b0100..Trigger-In 4 is selected. 0b0101..Trigger-In 5 is selected. 0b0110..Trigger-In 6 is selected. 0b0111..Trigger-In 7 is selected. 0b1000..Trigger-In 8 is selected. 0b1001..Trigger-In 9 is selected. 0b1010..Trigger-In 10 is selected. 0b1011..Trigger-In 11 is selected. 0b1100..Trigger-In 12 is selected. 0b1101..Trigger-In 13 is selected. 0b1110..Trigger-In 14 is selected. 0b1111..Software trigger is selected.
#define PDB_SC_TRGSEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << PDB_SC_TRGSEL_SHIFT)) & PDB_SC_TRGSEL_MASK) |
TRGSEL - Trigger Input Source Select 0b0000..Trigger-In 0 is selected. 0b0001..Trigger-In 1 is selected. 0b0010..Trigger-In 2 is selected. 0b0011..Trigger-In 3 is selected. 0b0100..Trigger-In 4 is selected. 0b0101..Trigger-In 5 is selected. 0b0110..Trigger-In 6 is selected. 0b0111..Trigger-In 7 is selected. 0b1000..Trigger-In 8 is selected. 0b1001..Trigger-In 9 is selected. 0b1010..Trigger-In 10 is selected. 0b1011..Trigger-In 11 is selected. 0b1100..Trigger-In 12 is selected. 0b1101..Trigger-In 13 is selected. 0b1110..Trigger-In 14 is selected. 0b1111..Software trigger is selected.