The 108 registers of PWM0 (Pulse Width Modulation Controller), from 0x40020000, with their reset value and every field. The PIC32CZ1038CA70144 has 2990 registers in 68 peripherals, one page each.
PWM0 Pulse Width Modulation Controller
PWM_CLKPWM Clock Register
Address
0x40020000
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
PREB
27:24
CLKB Source Clock Selection
0 Peripheral clock
1 Peripheral clock/2
2 Peripheral clock/4
3 Peripheral clock/8
4 Peripheral clock/16
5 Peripheral clock/32
6 Peripheral clock/64
7 Peripheral clock/128
8 Peripheral clock/256
9 Peripheral clock/512
10 Peripheral clock/1024
DIVB
23:16
CLKB Divide Factor
0 CLKB clock is turned off
1 CLKB clock is clock selected by PREB
PREA
11:8
CLKA Source Clock Selection
0 Peripheral clock
1 Peripheral clock/2
2 Peripheral clock/4
3 Peripheral clock/8
4 Peripheral clock/16
5 Peripheral clock/32
6 Peripheral clock/64
7 Peripheral clock/128
8 Peripheral clock/256
9 Peripheral clock/512
10 Peripheral clock/1024
DIVA
7:0
CLKA Divide Factor
0 CLKA clock is turned off
1 CLKA clock is clock selected by PREA
PWM_ENAPWM Enable Register
Address
0x40020004
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CHID3
3
Channel ID
CHID2
2
Channel ID
CHID1
1
Channel ID
CHID0
0
Channel ID
PWM_DISPWM Disable Register
Address
0x40020008
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CHID3
3
Channel ID
CHID2
2
Channel ID
CHID1
1
Channel ID
CHID0
0
Channel ID
PWM_SRPWM Status Register
Address
0x4002000C
Reset
0x00000000
Access
read only
Size
32-bit
4 fields
Field
Bits
What it does
CHID3
3
Channel ID
CHID2
2
Channel ID
CHID1
1
Channel ID
CHID0
0
Channel ID
PWM_IER1PWM Interrupt Enable Register 1
Address
0x40020010
Reset
0x00000000
Access
write only
Size
32-bit
8 fields
Field
Bits
What it does
FCHID3
19
Fault Protection Trigger on Channel 3 Interrupt Enable
FCHID2
18
Fault Protection Trigger on Channel 2 Interrupt Enable
FCHID1
17
Fault Protection Trigger on Channel 1 Interrupt Enable
FCHID0
16
Fault Protection Trigger on Channel 0 Interrupt Enable
CHID3
3
Counter Event on Channel 3 Interrupt Enable
CHID2
2
Counter Event on Channel 2 Interrupt Enable
CHID1
1
Counter Event on Channel 1 Interrupt Enable
CHID0
0
Counter Event on Channel 0 Interrupt Enable
PWM_IDR1PWM Interrupt Disable Register 1
Address
0x40020014
Reset
0x00000000
Access
write only
Size
32-bit
8 fields
Field
Bits
What it does
FCHID3
19
Fault Protection Trigger on Channel 3 Interrupt Disable
FCHID2
18
Fault Protection Trigger on Channel 2 Interrupt Disable
FCHID1
17
Fault Protection Trigger on Channel 1 Interrupt Disable
FCHID0
16
Fault Protection Trigger on Channel 0 Interrupt Disable
CHID3
3
Counter Event on Channel 3 Interrupt Disable
CHID2
2
Counter Event on Channel 2 Interrupt Disable
CHID1
1
Counter Event on Channel 1 Interrupt Disable
CHID0
0
Counter Event on Channel 0 Interrupt Disable
PWM_IMR1PWM Interrupt Mask Register 1
Address
0x40020018
Reset
0x00000000
Access
read only
Size
32-bit
8 fields
Field
Bits
What it does
FCHID3
19
Fault Protection Trigger on Channel 3 Interrupt Mask
FCHID2
18
Fault Protection Trigger on Channel 2 Interrupt Mask
FCHID1
17
Fault Protection Trigger on Channel 1 Interrupt Mask
FCHID0
16
Fault Protection Trigger on Channel 0 Interrupt Mask
CHID3
3
Counter Event on Channel 3 Interrupt Mask
CHID2
2
Counter Event on Channel 2 Interrupt Mask
CHID1
1
Counter Event on Channel 1 Interrupt Mask
CHID0
0
Counter Event on Channel 0 Interrupt Mask
PWM_ISR1PWM Interrupt Status Register 1
Address
0x4002001C
Reset
0x00000000
Access
read only
Size
32-bit
8 fields
Field
Bits
What it does
FCHID3
19
Fault Protection Trigger on Channel 3
FCHID2
18
Fault Protection Trigger on Channel 2
FCHID1
17
Fault Protection Trigger on Channel 1
FCHID0
16
Fault Protection Trigger on Channel 0
CHID3
3
Counter Event on Channel 3
CHID2
2
Counter Event on Channel 2
CHID1
1
Counter Event on Channel 1
CHID0
0
Counter Event on Channel 0
PWM_SCMPWM Sync Channels Mode Register
Address
0x40020020
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
PTRCS
23:21
DMA Controller Transfer Request Comparison Selection
PTRM
20
DMA Controller Transfer Request Mode
UPDM
17:16
Synchronous Channels Update Mode
0 Manual write of double buffer registers and manual update of synchronous channels
1 Manual write of double buffer registers and automatic update of synchronous channels
2 Automatic write of duty-cycle update registers by the DMA Controller and automatic update of synchronous channels
SYNC3
3
Synchronous Channel 3
SYNC2
2
Synchronous Channel 2
SYNC1
1
Synchronous Channel 1
SYNC0
0
Synchronous Channel 0
PWM_DMARPWM DMA Register
Address
0x40020024
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
DMADUTY
23:0
Duty-Cycle Holding Register for DMA Access
PWM_SCUCPWM Sync Channels Update Control Register
Address
0x40020028
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
UPDULOCK
0
Synchronous Channels Update Unlock
PWM_SCUPPWM Sync Channels Update Period Register
Address
0x4002002C
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
UPRCNT
7:4
Update Period Counter
UPR
3:0
Update Period
PWM_SCUPUPDPWM Sync Channels Update Period Update Register
Output Selection Clear for PWML output of the channel 3
OSCUPL2
18
Output Selection Clear for PWML output of the channel 2
OSCUPL1
17
Output Selection Clear for PWML output of the channel 1
OSCUPL0
16
Output Selection Clear for PWML output of the channel 0
OSCUPH3
3
Output Selection Clear for PWMH output of the channel 3
OSCUPH2
2
Output Selection Clear for PWMH output of the channel 2
OSCUPH1
1
Output Selection Clear for PWMH output of the channel 1
OSCUPH0
0
Output Selection Clear for PWMH output of the channel 0
PWM_FMRPWM Fault Mode Register
Address
0x4002005C
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
FFIL
23:16
Fault Filtering
FMOD
15:8
Fault Activation Mode
FPOL
7:0
Fault Polarity
PWM_FSRPWM Fault Status Register
Address
0x40020060
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
Field
Bits
What it does
FS
15:8
Fault Status
FIV
7:0
Fault Input Value
PWM_FCRPWM Fault Clear Register
Address
0x40020064
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
FCLR
7:0
Fault Clear
PWM_FPV1PWM Fault Protection Value Register 1
Address
0x40020068
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
FPVL3
19
Fault Protection Value for PWML output on channel 3
FPVL2
18
Fault Protection Value for PWML output on channel 2
FPVL1
17
Fault Protection Value for PWML output on channel 1
FPVL0
16
Fault Protection Value for PWML output on channel 0
FPVH3
3
Fault Protection Value for PWMH output on channel 3
FPVH2
2
Fault Protection Value for PWMH output on channel 2
FPVH1
1
Fault Protection Value for PWMH output on channel 1
FPVH0
0
Fault Protection Value for PWMH output on channel 0
PWM_FPEPWM Fault Protection Enable Register
Address
0x4002006C
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
FPE2
23:16
Fault Protection Enable for channel 2
FPE1
15:8
Fault Protection Enable for channel 1
FPE0
7:0
Fault Protection Enable for channel 0
FPE3
31:24
Fault Protection Enable for channel 3
PWM_ELMR0PWM Event Line 0 Mode Register 0
Address
0x4002007C
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
CSEL7
7
Comparison 7 Selection
CSEL6
6
Comparison 6 Selection
CSEL5
5
Comparison 5 Selection
CSEL4
4
Comparison 4 Selection
CSEL3
3
Comparison 3 Selection
CSEL2
2
Comparison 2 Selection
CSEL1
1
Comparison 1 Selection
CSEL0
0
Comparison 0 Selection
PWM_ELMR1PWM Event Line 0 Mode Register 0
Address
0x40020080
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
CSEL7
7
Comparison 7 Selection
CSEL6
6
Comparison 6 Selection
CSEL5
5
Comparison 5 Selection
CSEL4
4
Comparison 4 Selection
CSEL3
3
Comparison 3 Selection
CSEL2
2
Comparison 2 Selection
CSEL1
1
Comparison 1 Selection
CSEL0
0
Comparison 0 Selection
PWM_SSPRPWM Spread Spectrum Register
Address
0x400200A0
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
SPRDM
24
Spread Spectrum Counter Mode
SPRD
23:0
Spread Spectrum Limit Value
PWM_SSPUPPWM Spread Spectrum Update Register
Address
0x400200A4
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
SPRDUP
23:0
Spread Spectrum Limit Value Update
PWM_SMMRPWM Stepper Motor Mode Register
Address
0x400200B0
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
DOWN1
17
DOWN Count
DOWN0
16
DOWN Count
GCEN1
1
Gray Count ENable
GCEN0
0
Gray Count ENable
PWM_FPV2PWM Fault Protection Value 2 Register
Address
0x400200C0
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
FPZL3
19
Fault Protection to Hi-Z for PWML output on channel 3
FPZL2
18
Fault Protection to Hi-Z for PWML output on channel 2
FPZL1
17
Fault Protection to Hi-Z for PWML output on channel 1
FPZL0
16
Fault Protection to Hi-Z for PWML output on channel 0
FPZH3
3
Fault Protection to Hi-Z for PWMH output on channel 3
FPZH2
2
Fault Protection to Hi-Z for PWMH output on channel 2
FPZH1
1
Fault Protection to Hi-Z for PWMH output on channel 1
FPZH0
0
Fault Protection to Hi-Z for PWMH output on channel 0
PWM_WPCRPWM Write Protection Control Register
Address
0x400200E4
Reset
0x00000000
Access
write only
Size
32-bit
8 fields
Field
Bits
What it does
WPRG5
7
Write Protection Register Group 5
WPRG4
6
Write Protection Register Group 4
WPRG3
5
Write Protection Register Group 3
WPRG2
4
Write Protection Register Group 2
WPRG1
3
Write Protection Register Group 1
WPRG0
2
Write Protection Register Group 0
WPCMD
1:0
Write Protection Command
0 Disables the software write protection of the register groups of which the bit WPRGx is at '1'.
1 Enables the software write protection of the register groups of which the bit WPRGx is at '1'.
2 Enables the hardware write protection of the register groups of which the bit WPRGx is at '1'. Only a hardware reset of the PWM controller can disable the hardware write protection. Moreover, to meet security requirements, the PIO lines associated with the PWM can not be configured through the PIO i
WPKEY
31:8
Write Protection Key
5265229 Writing any other value in this field aborts the write operation of the WPCMD field.Always reads as 0
PWM_WPSRPWM Write Protection Status Register
Address
0x400200E8
Reset
0x00000000
Access
read only
Size
32-bit
14 fields
Field
Bits
What it does
WPHWS5
13
Write Protect HW Status
WPHWS4
12
Write Protect HW Status
WPHWS3
11
Write Protect HW Status
WPHWS2
10
Write Protect HW Status
WPHWS1
9
Write Protect HW Status
WPHWS0
8
Write Protect HW Status
WPVS
7
Write Protect Violation Status
WPSWS5
5
Write Protect SW Status
WPSWS4
4
Write Protect SW Status
WPSWS3
3
Write Protect SW Status
WPSWS2
2
Write Protect SW Status
WPSWS1
1
Write Protect SW Status
WPSWS0
0
Write Protect SW Status
WPVSRC
31:16
Write Protect Violation Source
PWM_CMPV0PWM Comparison 0 Value Register
Address
0x40020130
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD0PWM Comparison 0 Value Update Register
Address
0x40020134
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM0PWM Comparison 0 Mode Register
Address
0x40020138
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD0PWM Comparison 0 Mode Update Register
Address
0x4002013C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV1PWM Comparison 0 Value Register
Address
0x40020140
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD1PWM Comparison 0 Value Update Register
Address
0x40020144
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM1PWM Comparison 0 Mode Register
Address
0x40020148
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD1PWM Comparison 0 Mode Update Register
Address
0x4002014C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV2PWM Comparison 0 Value Register
Address
0x40020150
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD2PWM Comparison 0 Value Update Register
Address
0x40020154
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM2PWM Comparison 0 Mode Register
Address
0x40020158
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD2PWM Comparison 0 Mode Update Register
Address
0x4002015C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV3PWM Comparison 0 Value Register
Address
0x40020160
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD3PWM Comparison 0 Value Update Register
Address
0x40020164
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM3PWM Comparison 0 Mode Register
Address
0x40020168
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD3PWM Comparison 0 Mode Update Register
Address
0x4002016C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV4PWM Comparison 0 Value Register
Address
0x40020170
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD4PWM Comparison 0 Value Update Register
Address
0x40020174
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM4PWM Comparison 0 Mode Register
Address
0x40020178
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD4PWM Comparison 0 Mode Update Register
Address
0x4002017C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV5PWM Comparison 0 Value Register
Address
0x40020180
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD5PWM Comparison 0 Value Update Register
Address
0x40020184
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM5PWM Comparison 0 Mode Register
Address
0x40020188
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD5PWM Comparison 0 Mode Update Register
Address
0x4002018C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV6PWM Comparison 0 Value Register
Address
0x40020190
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD6PWM Comparison 0 Value Update Register
Address
0x40020194
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM6PWM Comparison 0 Mode Register
Address
0x40020198
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD6PWM Comparison 0 Mode Update Register
Address
0x4002019C
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CMPV7PWM Comparison 0 Value Register
Address
0x400201A0
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CVM
24
Comparison x Value Mode
0 Compare when counter is incrementing
1 Compare when counter is decrementing
CV
23:0
Comparison x Value
PWM_CMPVUPD7PWM Comparison 0 Value Update Register
Address
0x400201A4
Reset
0x00000000
Access
write only
Size
32-bit
2 fields
Field
Bits
What it does
CVMUPD
24
Comparison x Value Mode Update
CVUPD
23:0
Comparison x Value Update
PWM_CMPM7PWM Comparison 0 Mode Register
Address
0x400201A8
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
CUPRCNT
23:20
Comparison x Update Period Counter
CUPR
19:16
Comparison x Update Period
CPRCNT
15:12
Comparison x Period Counter
CPR
11:8
Comparison x Period
CTR
7:4
Comparison x Trigger
CEN
0
Comparison x Enable
PWM_CMPMUPD7PWM Comparison 0 Mode Update Register
Address
0x400201AC
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
CUPRUPD
19:16
Comparison x Update Period Update
CPRUPD
11:8
Comparison x Period Update
CTRUPD
7:4
Comparison x Trigger Update
CENUPD
0
Comparison x Enable Update
PWM_CH_NUM0.PWM_CMRPWM Channel Mode Register
Address
0x40020200
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
Field
Bits
What it does
PPM
19
Push-Pull Mode
DTLI
18
Dead-Time PWMLx Output Inverted
DTHI
17
Dead-Time PWMHx Output Inverted
DTE
16
Dead-Time Generator Enable
TCTS
13
Timer Counter Trigger Selection
DPOLI
12
Disabled Polarity Inverted
UPDS
11
Update Selection
0 At the next end of PWM period
1 At the next end of Half PWM period
CES
10
Counter Event Selection
0 At the end of PWM period
1 At half of PWM period AND at the end of PWM period