Struct d1_pac::pwm::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 72 fields
pub pier: PIER,
pub pisr: PISR,
pub cier: CIER,
pub cisr: CISR,
pub pccr01: PCCR01,
pub pccr23: PCCR23,
pub pccr45: PCCR45,
pub pccr67: PCCR67,
pub pcgr: PCGR,
pub pdzcr01: PDZCR01,
pub pdzcr23: PDZCR23,
pub pdzcr45: PDZCR45,
pub pdzcr67: PDZCR67,
pub per: PER,
pub pgr: [PGR; 4],
pub cer: CER,
pub pcr0: PCR,
pub ppr0: PPR,
pub pcntr0: PCNTR,
pub ppcntr0: PPCNTR,
pub ccr0: CCR,
pub crlr0: CRLR,
pub cflr0: CFLR,
pub pcr1: PCR,
pub ppr1: PPR,
pub pcntr1: PCNTR,
pub ppcntr1: PPCNTR,
pub ccr1: CCR,
pub crlr1: CRLR,
pub cflr1: CFLR,
pub pcr2: PCR,
pub ppr2: PPR,
pub pcntr2: PCNTR,
pub ppcntr2: PPCNTR,
pub ccr2: CCR,
pub crlr2: CRLR,
pub cflr2: CFLR,
pub pcr3: PCR,
pub ppr3: PPR,
pub pcntr3: PCNTR,
pub ppcntr3: PPCNTR,
pub ccr3: CCR,
pub crlr3: CRLR,
pub cflr3: CFLR,
pub pcr4: PCR,
pub ppr4: PPR,
pub pcntr4: PCNTR,
pub ppcntr4: PPCNTR,
pub ccr4: CCR,
pub crlr4: CRLR,
pub cflr4: CFLR,
pub pcr5: PCR,
pub ppr5: PPR,
pub pcntr5: PCNTR,
pub ppcntr5: PPCNTR,
pub ccr5: CCR,
pub crlr5: CRLR,
pub cflr5: CFLR,
pub pcr6: PCR,
pub ppr6: PPR,
pub pcntr6: PCNTR,
pub ppcntr6: PPCNTR,
pub ccr6: CCR,
pub crlr6: CRLR,
pub cflr6: CFLR,
pub pcr7: PCR,
pub ppr7: PPR,
pub pcntr7: PCNTR,
pub ppcntr7: PPCNTR,
pub ccr7: CCR,
pub crlr7: CRLR,
pub cflr7: CFLR,
/* private fields */
}Expand description
Register block
Fields§
§pier: PIER0x00 - PWM IRQ Enable Register
pisr: PISR0x04 - PWM IRQ Status Register
cier: CIER0x10 - Capture IRQ Enable Register
cisr: CISR0x14 - Capture IRQ Status Register
pccr01: PCCR010x20 - PWM01 Clock Configuration Register
pccr23: PCCR230x24 - PWM23 Clock Configuration Register
pccr45: PCCR450x28 - PWM45 Clock Configuration Register
pccr67: PCCR670x2c - PWM67 Clock Configuration Register
pcgr: PCGR0x40 - PWM Clock Gating Register
pdzcr01: PDZCR010x60 - PWM01 Dead Zone Control Register
pdzcr23: PDZCR230x64 - PWM23 Dead Zone Control Register
pdzcr45: PDZCR450x68 - PWM45 Dead Zone Control Register
pdzcr67: PDZCR670x6c - PWM67 Dead Zone Control Register
per: PER0x80 - PWM Enable Register
pgr: [PGR; 4]0x90..0xa0 - PWM Group[g] Register
cer: CER0xc0 - Capture Enable Register
pcr0: PCR0x100 - PWM Control Register
ppr0: PPR0x104 - PWM Period Register
pcntr0: PCNTR0x108 - PWM Count Register
ppcntr0: PPCNTR0x10c - PWM Pulse Counter Register
ccr0: CCR0x110 - Capture Control Register
crlr0: CRLR0x114 - Capture Rise Lock Register
cflr0: CFLR0x118 - Capture Fall Lock Register
pcr1: PCR0x120 - PWM Control Register
ppr1: PPR0x124 - PWM Period Register
pcntr1: PCNTR0x128 - PWM Count Register
ppcntr1: PPCNTR0x12c - PWM Pulse Counter Register
ccr1: CCR0x130 - Capture Control Register
crlr1: CRLR0x134 - Capture Rise Lock Register
cflr1: CFLR0x138 - Capture Fall Lock Register
pcr2: PCR0x140 - PWM Control Register
ppr2: PPR0x144 - PWM Period Register
pcntr2: PCNTR0x148 - PWM Count Register
ppcntr2: PPCNTR0x14c - PWM Pulse Counter Register
ccr2: CCR0x150 - Capture Control Register
crlr2: CRLR0x154 - Capture Rise Lock Register
cflr2: CFLR0x158 - Capture Fall Lock Register
pcr3: PCR0x160 - PWM Control Register
ppr3: PPR0x164 - PWM Period Register
pcntr3: PCNTR0x168 - PWM Count Register
ppcntr3: PPCNTR0x16c - PWM Pulse Counter Register
ccr3: CCR0x170 - Capture Control Register
crlr3: CRLR0x174 - Capture Rise Lock Register
cflr3: CFLR0x178 - Capture Fall Lock Register
pcr4: PCR0x180 - PWM Control Register
ppr4: PPR0x184 - PWM Period Register
pcntr4: PCNTR0x188 - PWM Count Register
ppcntr4: PPCNTR0x18c - PWM Pulse Counter Register
ccr4: CCR0x190 - Capture Control Register
crlr4: CRLR0x194 - Capture Rise Lock Register
cflr4: CFLR0x198 - Capture Fall Lock Register
pcr5: PCR0x1a0 - PWM Control Register
ppr5: PPR0x1a4 - PWM Period Register
pcntr5: PCNTR0x1a8 - PWM Count Register
ppcntr5: PPCNTR0x1ac - PWM Pulse Counter Register
ccr5: CCR0x1b0 - Capture Control Register
crlr5: CRLR0x1b4 - Capture Rise Lock Register
cflr5: CFLR0x1b8 - Capture Fall Lock Register
pcr6: PCR0x1c0 - PWM Control Register
ppr6: PPR0x1c4 - PWM Period Register
pcntr6: PCNTR0x1c8 - PWM Count Register
ppcntr6: PPCNTR0x1cc - PWM Pulse Counter Register
ccr6: CCR0x1d0 - Capture Control Register
crlr6: CRLR0x1d4 - Capture Rise Lock Register
cflr6: CFLR0x1d8 - Capture Fall Lock Register
pcr7: PCR0x1e0 - PWM Control Register
ppr7: PPR0x1e4 - PWM Period Register
pcntr7: PCNTR0x1e8 - PWM Count Register
ppcntr7: PPCNTR0x1ec - PWM Pulse Counter Register
ccr7: CCR0x1f0 - Capture Control Register
crlr7: CRLR0x1f4 - Capture Rise Lock Register
cflr7: CFLR0x1f8 - Capture Fall Lock Register