SAM3S8 PWM

Pulse Width Modulation Controller (PWM) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x40020000 PWM Clock Register PWM_CLK read-write 0x00000000
0x40020004 PWM Enable Register PWM_ENA write-only -
0x40020008 PWM Disable Register PWM_DIS write-only -
0x4002000C PWM Status Register PWM_SR read-only 0x00000000
0x40020010 PWM Interrupt Enable Register 1 PWM_IER1 write-only -
0x40020014 PWM Interrupt Disable Register 1 PWM_IDR1 write-only -
0x40020018 PWM Interrupt Mask Register 1 PWM_IMR1 read-only 0x00000000
0x4002001C PWM Interrupt Status Register 1 PWM_ISR1 read-only 0x00000000
0x40020020 PWM Sync Channels Mode Register PWM_SCM read-write 0x00000000
0x40020028 PWM Sync Channels Update Control Register PWM_SCUC read-write 0x00000000
0x4002002C PWM Sync Channels Update Period Register PWM_SCUP read-write 0x00000000
0x40020030 PWM Sync Channels Update Period Update Register PWM_SCUPUPD write-only 0x00000000
0x40020034 PWM Interrupt Enable Register 2 PWM_IER2 write-only -
0x40020038 PWM Interrupt Disable Register 2 PWM_IDR2 write-only -
0x4002003C PWM Interrupt Mask Register 2 PWM_IMR2 read-only 0x00000000
0x40020040 PWM Interrupt Status Register 2 PWM_ISR2 read-only 0x00000000
0x40020044 PWM Output Override Value Register PWM_OOV read-write 0x00000000
0x40020048 PWM Output Selection Register PWM_OS read-write 0x00000000
0x4002004C PWM Output Selection Set Register PWM_OSS write-only -
0x40020050 PWM Output Selection Clear Register PWM_OSC write-only -
0x40020054 PWM Output Selection Set Update Register PWM_OSSUPD write-only -
0x40020058 PWM Output Selection Clear Update Register PWM_OSCUPD write-only -
0x4002005C PWM Fault Mode Register PWM_FMR read-write 0x00000000
0x40020060 PWM Fault Status Register PWM_FSR read-only 0x00000000
0x40020064 PWM Fault Clear Register PWM_FCR write-only -
0x40020068 PWM Fault Protection Value Register PWM_FPV read-write 0x00000000
0x4002006C PWM Fault Protection Enable Register PWM_FPE read-write 0x00000000
0x4002007C PWM Event Line 0 Mode Register PWM_ELMR[2] read-write 0x0
0x400200B0 PWM Stepper Motor Mode Register PWM_SMMR read-write 0x00000000
0x400200E4 PWM Write Protect Control Register PWM_WPCR write-only -
0x400200E8 PWM Write Protect Status Register PWM_WPSR read-only 0x00000000
0x40020130 PWM Comparison 0 Value Register PWM_CMPV0 read-write 0x00000000
0x40020134 PWM Comparison 0 Value Update Register PWM_CMPVUPD0 write-only -
0x40020138 PWM Comparison 0 Mode Register PWM_CMPM0 read-write 0x00000000
0x4002013C PWM Comparison 0 Mode Update Register PWM_CMPMUPD0 write-only -
0x40020140 PWM Comparison 1 Value Register PWM_CMPV1 read-write 0x00000000
0x40020144 PWM Comparison 1 Value Update Register PWM_CMPVUPD1 write-only -
0x40020148 PWM Comparison 1 Mode Register PWM_CMPM1 read-write 0x00000000
0x4002014C PWM Comparison 1 Mode Update Register PWM_CMPMUPD1 write-only -
0x40020150 PWM Comparison 2 Value Register PWM_CMPV2 read-write 0x00000000
0x40020154 PWM Comparison 2 Value Update Register PWM_CMPVUPD2 write-only -
0x40020158 PWM Comparison 2 Mode Register PWM_CMPM2 read-write 0x00000000
0x4002015C PWM Comparison 2 Mode Update Register PWM_CMPMUPD2 write-only -
0x40020160 PWM Comparison 3 Value Register PWM_CMPV3 read-write 0x00000000
0x40020164 PWM Comparison 3 Value Update Register PWM_CMPVUPD3 write-only -
0x40020168 PWM Comparison 3 Mode Register PWM_CMPM3 read-write 0x00000000
0x4002016C PWM Comparison 3 Mode Update Register PWM_CMPMUPD3 write-only -
0x40020170 PWM Comparison 4 Value Register PWM_CMPV4 read-write 0x00000000
0x40020174 PWM Comparison 4 Value Update Register PWM_CMPVUPD4 write-only -
0x40020178 PWM Comparison 4 Mode Register PWM_CMPM4 read-write 0x00000000
0x4002017C PWM Comparison 4 Mode Update Register PWM_CMPMUPD4 write-only -
0x40020180 PWM Comparison 5 Value Register PWM_CMPV5 read-write 0x00000000
0x40020184 PWM Comparison 5 Value Update Register PWM_CMPVUPD5 write-only -
0x40020188 PWM Comparison 5 Mode Register PWM_CMPM5 read-write 0x00000000
0x4002018C PWM Comparison 5 Mode Update Register PWM_CMPMUPD5 write-only -
0x40020190 PWM Comparison 6 Value Register PWM_CMPV6 read-write 0x00000000
0x40020194 PWM Comparison 6 Value Update Register PWM_CMPVUPD6 write-only -
0x40020198 PWM Comparison 6 Mode Register PWM_CMPM6 read-write 0x00000000
0x4002019C PWM Comparison 6 Mode Update Register PWM_CMPMUPD6 write-only -
0x400201A0 PWM Comparison 7 Value Register PWM_CMPV7 read-write 0x00000000
0x400201A4 PWM Comparison 7 Value Update Register PWM_CMPVUPD7 write-only -
0x400201A8 PWM Comparison 7 Mode Register PWM_CMPM7 read-write 0x00000000
0x400201AC PWM Comparison 7 Mode Update Register PWM_CMPMUPD7 write-only -
0x40020200 PWM Channel Mode Register (ch_num = 0) PWM_CMR0 read-write 0x00000000
0x40020204 PWM Channel Duty Cycle Register (ch_num = 0) PWM_CDTY0 read-write 0x00000000
0x40020208 PWM Channel Duty Cycle Update Register (ch_num = 0) PWM_CDTYUPD0 write-only -
0x4002020C PWM Channel Period Register (ch_num = 0) PWM_CPRD0 read-write 0x00000000
0x40020210 PWM Channel Period Update Register (ch_num = 0) PWM_CPRDUPD0 write-only -
0x40020214 PWM Channel Counter Register (ch_num = 0) PWM_CCNT0 read-only 0x00000000
0x40020218 PWM Channel Dead Time Register (ch_num = 0) PWM_DT0 read-write 0x00000000
0x4002021C PWM Channel Dead Time Update Register (ch_num = 0) PWM_DTUPD0 write-only -
0x40020220 PWM Channel Mode Register (ch_num = 1) PWM_CMR1 read-write 0x00000000
0x40020224 PWM Channel Duty Cycle Register (ch_num = 1) PWM_CDTY1 read-write 0x00000000
0x40020228 PWM Channel Duty Cycle Update Register (ch_num = 1) PWM_CDTYUPD1 write-only -
0x4002022C PWM Channel Period Register (ch_num = 1) PWM_CPRD1 read-write 0x00000000
0x40020230 PWM Channel Period Update Register (ch_num = 1) PWM_CPRDUPD1 write-only -
0x40020234 PWM Channel Counter Register (ch_num = 1) PWM_CCNT1 read-only 0x00000000
0x40020238 PWM Channel Dead Time Register (ch_num = 1) PWM_DT1 read-write 0x00000000
0x4002023C PWM Channel Dead Time Update Register (ch_num = 1) PWM_DTUPD1 write-only -
0x40020240 PWM Channel Mode Register (ch_num = 2) PWM_CMR2 read-write 0x00000000
0x40020244 PWM Channel Duty Cycle Register (ch_num = 2) PWM_CDTY2 read-write 0x00000000
0x40020248 PWM Channel Duty Cycle Update Register (ch_num = 2) PWM_CDTYUPD2 write-only -
0x4002024C PWM Channel Period Register (ch_num = 2) PWM_CPRD2 read-write 0x00000000
0x40020250 PWM Channel Period Update Register (ch_num = 2) PWM_CPRDUPD2 write-only -
0x40020254 PWM Channel Counter Register (ch_num = 2) PWM_CCNT2 read-only 0x00000000
0x40020258 PWM Channel Dead Time Register (ch_num = 2) PWM_DT2 read-write 0x00000000
0x4002025C PWM Channel Dead Time Update Register (ch_num = 2) PWM_DTUPD2 write-only -
0x40020260 PWM Channel Mode Register (ch_num = 3) PWM_CMR3 read-write 0x00000000
0x40020264 PWM Channel Duty Cycle Register (ch_num = 3) PWM_CDTY3 read-write 0x00000000
0x40020268 PWM Channel Duty Cycle Update Register (ch_num = 3) PWM_CDTYUPD3 write-only -
0x4002026C PWM Channel Period Register (ch_num = 3) PWM_CPRD3 read-write 0x00000000
0x40020270 PWM Channel Period Update Register (ch_num = 3) PWM_CPRDUPD3 write-only -
0x40020274 PWM Channel Counter Register (ch_num = 3) PWM_CCNT3 read-only 0x00000000
0x40020278 PWM Channel Dead Time Register (ch_num = 3) PWM_DT3 read-write 0x00000000
0x4002027C PWM Channel Dead Time Update Register (ch_num = 3) PWM_DTUPD3 write-only -
0x40020108 Transmit Pointer Register PWM_TPR read-write 0x00000000
0x4002010C Transmit Counter Register PWM_TCR read-write 0x00000000
0x40020118 Transmit Next Pointer Register PWM_TNPR read-write 0x00000000
0x4002011C Transmit Next Counter Register PWM_TNCR read-write 0x00000000
0x40020120 Transfer Control Register PWM_PTCR write-only 0x00000000
0x40020124 Transfer Status Register PWM_PTSR read-only 0x00000000

Register Fields

PWM PWM Clock Register

Name: PWM_CLK

Access: read-write

Address: 0x40020000

31 30 29 28 27 26 25 24
- - - - PREB
23 22 21 20 19 18 17 16
DIVB
15 14 13 12 11 10 9 8
- - - - PREA
7 6 5 4 3 2 1 0
DIVA

PWM PWM Enable Register

Name: PWM_ENA

Access: write-only

Address: 0x40020004

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Disable Register

Name: PWM_DIS

Access: write-only

Address: 0x40020008

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Status Register

Name: PWM_SR

Access: read-only

Address: 0x4002000C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Interrupt Enable Register 1

Name: PWM_IER1

Access: write-only

Address: 0x40020010

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - FCHID3 FCHID2 FCHID1 FCHID0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Interrupt Disable Register 1

Name: PWM_IDR1

Access: write-only

Address: 0x40020014

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - FCHID3 FCHID2 FCHID1 FCHID0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Interrupt Mask Register 1

Name: PWM_IMR1

Access: read-only

Address: 0x40020018

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - FCHID3 FCHID2 FCHID1 FCHID0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Interrupt Status Register 1

Name: PWM_ISR1

Access: read-only

Address: 0x4002001C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - FCHID3 FCHID2 FCHID1 FCHID0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - CHID3 CHID2 CHID1 CHID0

PWM PWM Sync Channels Mode Register

Name: PWM_SCM

Access: read-write

Address: 0x40020020

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
PTRCS PTRM - - UPDM
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - SYNC3 SYNC2 SYNC1 SYNC0

PWM PWM Sync Channels Update Control Register

Name: PWM_SCUC

Access: read-write

Address: 0x40020028

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - - UPDULOCK

PWM PWM Sync Channels Update Period Register

Name: PWM_SCUP

Access: read-write

Address: 0x4002002C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
UPRCNT UPR

PWM PWM Sync Channels Update Period Update Register

Name: PWM_SCUPUPD

Access: write-only

Address: 0x40020030

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - UPRUPD

PWM PWM Interrupt Enable Register 2

Name: PWM_IER2

Access: write-only

Address: 0x40020034

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CMPU7 CMPU6 CMPU5 CMPU4 CMPU3 CMPU2 CMPU1 CMPU0
15 14 13 12 11 10 9 8
CMPM7 CMPM6 CMPM5 CMPM4 CMPM3 CMPM2 CMPM1 CMPM0
7 6 5 4 3 2 1 0
- - - - UNRE TXBUFE ENDTX WRDY

PWM PWM Interrupt Disable Register 2

Name: PWM_IDR2

Access: write-only

Address: 0x40020038

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CMPU7 CMPU6 CMPU5 CMPU4 CMPU3 CMPU2 CMPU1 CMPU0
15 14 13 12 11 10 9 8
CMPM7 CMPM6 CMPM5 CMPM4 CMPM3 CMPM2 CMPM1 CMPM0
7 6 5 4 3 2 1 0
- - - - UNRE TXBUFE ENDTX WRDY

PWM PWM Interrupt Mask Register 2

Name: PWM_IMR2

Access: read-only

Address: 0x4002003C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CMPU7 CMPU6 CMPU5 CMPU4 CMPU3 CMPU2 CMPU1 CMPU0
15 14 13 12 11 10 9 8
CMPM7 CMPM6 CMPM5 CMPM4 CMPM3 CMPM2 CMPM1 CMPM0
7 6 5 4 3 2 1 0
- - - - UNRE TXBUFE ENDTX WRDY

PWM PWM Interrupt Status Register 2

Name: PWM_ISR2

Access: read-only

Address: 0x40020040

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CMPU7 CMPU6 CMPU5 CMPU4 CMPU3 CMPU2 CMPU1 CMPU0
15 14 13 12 11 10 9 8
CMPM7 CMPM6 CMPM5 CMPM4 CMPM3 CMPM2 CMPM1 CMPM0
7 6 5 4 3 2 1 0
- - - - UNRE TXBUFE ENDTX WRDY

PWM PWM Output Override Value Register

Name: PWM_OOV

Access: read-write

Address: 0x40020044

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - OOVL3 OOVL2 OOVL1 OOVL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OOVH3 OOVH2 OOVH1 OOVH0

PWM PWM Output Selection Register

Name: PWM_OS

Access: read-write

Address: 0x40020048

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - OSL3 OSL2 OSL1 OSL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OSH3 OSH2 OSH1 OSH0

PWM PWM Output Selection Set Register

Name: PWM_OSS

Access: write-only

Address: 0x4002004C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - OSSL3 OSSL2 OSSL1 OSSL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OSSH3 OSSH2 OSSH1 OSSH0

PWM PWM Output Selection Clear Register

Name: PWM_OSC

Access: write-only

Address: 0x40020050

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - OSCL3 OSCL2 OSCL1 OSCL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OSCH3 OSCH2 OSCH1 OSCH0

PWM PWM Output Selection Set Update Register

Name: PWM_OSSUPD

Access: write-only

Address: 0x40020054

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - OSSUPL3 OSSUPL2 OSSUPL1 OSSUPL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OSSUPH3 OSSUPH2 OSSUPH1 OSSUPH0

PWM PWM Output Selection Clear Update Register

Name: PWM_OSCUPD

Access: write-only

Address: 0x40020058

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - OSCUPL3 OSCUPL2 OSCUPL1 OSCUPL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - OSCUPH3 OSCUPH2 OSCUPH1 OSCUPH0

PWM PWM Fault Mode Register

Name: PWM_FMR

Access: read-write

Address: 0x4002005C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
FFIL
15 14 13 12 11 10 9 8
FMOD
7 6 5 4 3 2 1 0
FPOL

PWM PWM Fault Status Register

Name: PWM_FSR

Access: read-only

Address: 0x40020060

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
FS
7 6 5 4 3 2 1 0
FIV

PWM PWM Fault Clear Register

Name: PWM_FCR

Access: write-only

Address: 0x40020064

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
FCLR

PWM PWM Fault Protection Value Register

Name: PWM_FPV

Access: read-write

Address: 0x40020068

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - FPVL3 FPVL2 FPVL1 FPVL0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - FPVH3 FPVH2 FPVH1 FPVH0

PWM PWM Fault Protection Enable Register

Name: PWM_FPE

Access: read-write

Address: 0x4002006C

31 30 29 28 27 26 25 24
FPE3
23 22 21 20 19 18 17 16
FPE2
15 14 13 12 11 10 9 8
FPE1
7 6 5 4 3 2 1 0
FPE0

PWM PWM Event Line 0 Mode Register

Name: PWM_ELMR[0:1]

Access: read-write

Address: 0x4002007C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
CSEL7 CSEL6 CSEL5 CSEL4 CSEL3 CSEL2 CSEL1 CSEL0

PWM PWM Stepper Motor Mode Register

Name: PWM_SMMR

Access: read-write

Address: 0x400200B0

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - DOWN1 DOWN0
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - GCEN1 GCEN0

PWM PWM Write Protect Control Register

Name: PWM_WPCR

Access: write-only

Address: 0x400200E4

31 30 29 28 27 26 25 24
WPKEY
23 22 21 20 19 18 17 16
WPKEY
15 14 13 12 11 10 9 8
WPKEY
7 6 5 4 3 2 1 0
WPRG5 WPRG4 WPRG3 WPRG2 WPRG1 WPRG0 WPCMD

PWM PWM Write Protect Status Register

Name: PWM_WPSR

Access: read-only

Address: 0x400200E8

31 30 29 28 27 26 25 24
WPVSRC
23 22 21 20 19 18 17 16
WPVSRC
15 14 13 12 11 10 9 8
- - WPHWS5 WPHWS4 WPHWS3 WPHWS2 WPHWS1 WPHWS0
7 6 5 4 3 2 1 0
WPVS - WPSWS5 WPSWS4 WPSWS3 WPSWS2 WPSWS1 WPSWS0

PWM PWM Comparison 0 Value Register

Name: PWM_CMPV0

Access: read-write

Address: 0x40020130

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 0 Value Update Register

Name: PWM_CMPVUPD0

Access: write-only

Address: 0x40020134

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 0 Mode Register

Name: PWM_CMPM0

Access: read-write

Address: 0x40020138

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 0 Mode Update Register

Name: PWM_CMPMUPD0

Access: write-only

Address: 0x4002013C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 1 Value Register

Name: PWM_CMPV1

Access: read-write

Address: 0x40020140

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 1 Value Update Register

Name: PWM_CMPVUPD1

Access: write-only

Address: 0x40020144

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 1 Mode Register

Name: PWM_CMPM1

Access: read-write

Address: 0x40020148

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 1 Mode Update Register

Name: PWM_CMPMUPD1

Access: write-only

Address: 0x4002014C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 2 Value Register

Name: PWM_CMPV2

Access: read-write

Address: 0x40020150

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 2 Value Update Register

Name: PWM_CMPVUPD2

Access: write-only

Address: 0x40020154

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 2 Mode Register

Name: PWM_CMPM2

Access: read-write

Address: 0x40020158

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 2 Mode Update Register

Name: PWM_CMPMUPD2

Access: write-only

Address: 0x4002015C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 3 Value Register

Name: PWM_CMPV3

Access: read-write

Address: 0x40020160

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 3 Value Update Register

Name: PWM_CMPVUPD3

Access: write-only

Address: 0x40020164

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 3 Mode Register

Name: PWM_CMPM3

Access: read-write

Address: 0x40020168

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 3 Mode Update Register

Name: PWM_CMPMUPD3

Access: write-only

Address: 0x4002016C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 4 Value Register

Name: PWM_CMPV4

Access: read-write

Address: 0x40020170

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 4 Value Update Register

Name: PWM_CMPVUPD4

Access: write-only

Address: 0x40020174

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 4 Mode Register

Name: PWM_CMPM4

Access: read-write

Address: 0x40020178

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 4 Mode Update Register

Name: PWM_CMPMUPD4

Access: write-only

Address: 0x4002017C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 5 Value Register

Name: PWM_CMPV5

Access: read-write

Address: 0x40020180

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 5 Value Update Register

Name: PWM_CMPVUPD5

Access: write-only

Address: 0x40020184

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 5 Mode Register

Name: PWM_CMPM5

Access: read-write

Address: 0x40020188

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 5 Mode Update Register

Name: PWM_CMPMUPD5

Access: write-only

Address: 0x4002018C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 6 Value Register

Name: PWM_CMPV6

Access: read-write

Address: 0x40020190

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 6 Value Update Register

Name: PWM_CMPVUPD6

Access: write-only

Address: 0x40020194

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 6 Mode Register

Name: PWM_CMPM6

Access: read-write

Address: 0x40020198

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 6 Mode Update Register

Name: PWM_CMPMUPD6

Access: write-only

Address: 0x4002019C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Comparison 7 Value Register

Name: PWM_CMPV7

Access: read-write

Address: 0x400201A0

31 30 29 28 27 26 25 24
- - - - - - - CVM
23 22 21 20 19 18 17 16
CV
15 14 13 12 11 10 9 8
CV
7 6 5 4 3 2 1 0
CV

PWM PWM Comparison 7 Value Update Register

Name: PWM_CMPVUPD7

Access: write-only

Address: 0x400201A4

31 30 29 28 27 26 25 24
- - - - - - - CVMUPD
23 22 21 20 19 18 17 16
CVUPD
15 14 13 12 11 10 9 8
CVUPD
7 6 5 4 3 2 1 0
CVUPD

PWM PWM Comparison 7 Mode Register

Name: PWM_CMPM7

Access: read-write

Address: 0x400201A8

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CUPRCNT CUPR
15 14 13 12 11 10 9 8
CPRCNT CPR
7 6 5 4 3 2 1 0
CTR - - - CEN

PWM PWM Comparison 7 Mode Update Register

Name: PWM_CMPMUPD7

Access: write-only

Address: 0x400201AC

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - CUPRUPD
15 14 13 12 11 10 9 8
- - - - CPRUPD
7 6 5 4 3 2 1 0
CTRUPD - - - CENUPD

PWM PWM Channel Mode Register (ch_num = 0)

Name: PWM_CMR0

Access: read-write

Address: 0x40020200

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - DTLI DTHI DTE
15 14 13 12 11 10 9 8
- - - - - CES CPOL CALG
7 6 5 4 3 2 1 0
- - - - CPRE

PWM PWM Channel Duty Cycle Register (ch_num = 0)

Name: PWM_CDTY0

Access: read-write

Address: 0x40020204

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTY
15 14 13 12 11 10 9 8
CDTY
7 6 5 4 3 2 1 0
CDTY

PWM PWM Channel Duty Cycle Update Register (ch_num = 0)

Name: PWM_CDTYUPD0

Access: write-only

Address: 0x40020208

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTYUPD
15 14 13 12 11 10 9 8
CDTYUPD
7 6 5 4 3 2 1 0
CDTYUPD

PWM PWM Channel Period Register (ch_num = 0)

Name: PWM_CPRD0

Access: read-write

Address: 0x4002020C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRD
15 14 13 12 11 10 9 8
CPRD
7 6 5 4 3 2 1 0
CPRD

PWM PWM Channel Period Update Register (ch_num = 0)

Name: PWM_CPRDUPD0

Access: write-only

Address: 0x40020210

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRDUPD
15 14 13 12 11 10 9 8
CPRDUPD
7 6 5 4 3 2 1 0
CPRDUPD

PWM PWM Channel Counter Register (ch_num = 0)

Name: PWM_CCNT0

Access: read-only

Address: 0x40020214

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CNT
15 14 13 12 11 10 9 8
CNT
7 6 5 4 3 2 1 0
CNT

PWM PWM Channel Dead Time Register (ch_num = 0)

Name: PWM_DT0

Access: read-write

Address: 0x40020218

31 30 29 28 27 26 25 24
DTL
23 22 21 20 19 18 17 16
DTL
15 14 13 12 11 10 9 8
DTH
7 6 5 4 3 2 1 0
DTH

PWM PWM Channel Dead Time Update Register (ch_num = 0)

Name: PWM_DTUPD0

Access: write-only

Address: 0x4002021C

31 30 29 28 27 26 25 24
DTLUPD
23 22 21 20 19 18 17 16
DTLUPD
15 14 13 12 11 10 9 8
DTHUPD
7 6 5 4 3 2 1 0
DTHUPD

PWM PWM Channel Mode Register (ch_num = 1)

Name: PWM_CMR1

Access: read-write

Address: 0x40020220

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - DTLI DTHI DTE
15 14 13 12 11 10 9 8
- - - - - CES CPOL CALG
7 6 5 4 3 2 1 0
- - - - CPRE

PWM PWM Channel Duty Cycle Register (ch_num = 1)

Name: PWM_CDTY1

Access: read-write

Address: 0x40020224

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTY
15 14 13 12 11 10 9 8
CDTY
7 6 5 4 3 2 1 0
CDTY

PWM PWM Channel Duty Cycle Update Register (ch_num = 1)

Name: PWM_CDTYUPD1

Access: write-only

Address: 0x40020228

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTYUPD
15 14 13 12 11 10 9 8
CDTYUPD
7 6 5 4 3 2 1 0
CDTYUPD

PWM PWM Channel Period Register (ch_num = 1)

Name: PWM_CPRD1

Access: read-write

Address: 0x4002022C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRD
15 14 13 12 11 10 9 8
CPRD
7 6 5 4 3 2 1 0
CPRD

PWM PWM Channel Period Update Register (ch_num = 1)

Name: PWM_CPRDUPD1

Access: write-only

Address: 0x40020230

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRDUPD
15 14 13 12 11 10 9 8
CPRDUPD
7 6 5 4 3 2 1 0
CPRDUPD

PWM PWM Channel Counter Register (ch_num = 1)

Name: PWM_CCNT1

Access: read-only

Address: 0x40020234

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CNT
15 14 13 12 11 10 9 8
CNT
7 6 5 4 3 2 1 0
CNT

PWM PWM Channel Dead Time Register (ch_num = 1)

Name: PWM_DT1

Access: read-write

Address: 0x40020238

31 30 29 28 27 26 25 24
DTL
23 22 21 20 19 18 17 16
DTL
15 14 13 12 11 10 9 8
DTH
7 6 5 4 3 2 1 0
DTH

PWM PWM Channel Dead Time Update Register (ch_num = 1)

Name: PWM_DTUPD1

Access: write-only

Address: 0x4002023C

31 30 29 28 27 26 25 24
DTLUPD
23 22 21 20 19 18 17 16
DTLUPD
15 14 13 12 11 10 9 8
DTHUPD
7 6 5 4 3 2 1 0
DTHUPD

PWM PWM Channel Mode Register (ch_num = 2)

Name: PWM_CMR2

Access: read-write

Address: 0x40020240

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - DTLI DTHI DTE
15 14 13 12 11 10 9 8
- - - - - CES CPOL CALG
7 6 5 4 3 2 1 0
- - - - CPRE

PWM PWM Channel Duty Cycle Register (ch_num = 2)

Name: PWM_CDTY2

Access: read-write

Address: 0x40020244

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTY
15 14 13 12 11 10 9 8
CDTY
7 6 5 4 3 2 1 0
CDTY

PWM PWM Channel Duty Cycle Update Register (ch_num = 2)

Name: PWM_CDTYUPD2

Access: write-only

Address: 0x40020248

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTYUPD
15 14 13 12 11 10 9 8
CDTYUPD
7 6 5 4 3 2 1 0
CDTYUPD

PWM PWM Channel Period Register (ch_num = 2)

Name: PWM_CPRD2

Access: read-write

Address: 0x4002024C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRD
15 14 13 12 11 10 9 8
CPRD
7 6 5 4 3 2 1 0
CPRD

PWM PWM Channel Period Update Register (ch_num = 2)

Name: PWM_CPRDUPD2

Access: write-only

Address: 0x40020250

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRDUPD
15 14 13 12 11 10 9 8
CPRDUPD
7 6 5 4 3 2 1 0
CPRDUPD

PWM PWM Channel Counter Register (ch_num = 2)

Name: PWM_CCNT2

Access: read-only

Address: 0x40020254

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CNT
15 14 13 12 11 10 9 8
CNT
7 6 5 4 3 2 1 0
CNT

PWM PWM Channel Dead Time Register (ch_num = 2)

Name: PWM_DT2

Access: read-write

Address: 0x40020258

31 30 29 28 27 26 25 24
DTL
23 22 21 20 19 18 17 16
DTL
15 14 13 12 11 10 9 8
DTH
7 6 5 4 3 2 1 0
DTH

PWM PWM Channel Dead Time Update Register (ch_num = 2)

Name: PWM_DTUPD2

Access: write-only

Address: 0x4002025C

31 30 29 28 27 26 25 24
DTLUPD
23 22 21 20 19 18 17 16
DTLUPD
15 14 13 12 11 10 9 8
DTHUPD
7 6 5 4 3 2 1 0
DTHUPD

PWM PWM Channel Mode Register (ch_num = 3)

Name: PWM_CMR3

Access: read-write

Address: 0x40020260

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - DTLI DTHI DTE
15 14 13 12 11 10 9 8
- - - - - CES CPOL CALG
7 6 5 4 3 2 1 0
- - - - CPRE

PWM PWM Channel Duty Cycle Register (ch_num = 3)

Name: PWM_CDTY3

Access: read-write

Address: 0x40020264

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTY
15 14 13 12 11 10 9 8
CDTY
7 6 5 4 3 2 1 0
CDTY

PWM PWM Channel Duty Cycle Update Register (ch_num = 3)

Name: PWM_CDTYUPD3

Access: write-only

Address: 0x40020268

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CDTYUPD
15 14 13 12 11 10 9 8
CDTYUPD
7 6 5 4 3 2 1 0
CDTYUPD

PWM PWM Channel Period Register (ch_num = 3)

Name: PWM_CPRD3

Access: read-write

Address: 0x4002026C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRD
15 14 13 12 11 10 9 8
CPRD
7 6 5 4 3 2 1 0
CPRD

PWM PWM Channel Period Update Register (ch_num = 3)

Name: PWM_CPRDUPD3

Access: write-only

Address: 0x40020270

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CPRDUPD
15 14 13 12 11 10 9 8
CPRDUPD
7 6 5 4 3 2 1 0
CPRDUPD

PWM PWM Channel Counter Register (ch_num = 3)

Name: PWM_CCNT3

Access: read-only

Address: 0x40020274

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
CNT
15 14 13 12 11 10 9 8
CNT
7 6 5 4 3 2 1 0
CNT

PWM PWM Channel Dead Time Register (ch_num = 3)

Name: PWM_DT3

Access: read-write

Address: 0x40020278

31 30 29 28 27 26 25 24
DTL
23 22 21 20 19 18 17 16
DTL
15 14 13 12 11 10 9 8
DTH
7 6 5 4 3 2 1 0
DTH

PWM PWM Channel Dead Time Update Register (ch_num = 3)

Name: PWM_DTUPD3

Access: write-only

Address: 0x4002027C

31 30 29 28 27 26 25 24
DTLUPD
23 22 21 20 19 18 17 16
DTLUPD
15 14 13 12 11 10 9 8
DTHUPD
7 6 5 4 3 2 1 0
DTHUPD

PWM Transmit Pointer Register

Name: PWM_TPR

Access: read-write

Address: 0x40020108

31 30 29 28 27 26 25 24
TXPTR
23 22 21 20 19 18 17 16
TXPTR
15 14 13 12 11 10 9 8
TXPTR
7 6 5 4 3 2 1 0
TXPTR

PWM Transmit Counter Register

Name: PWM_TCR

Access: read-write

Address: 0x4002010C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
TXCTR
7 6 5 4 3 2 1 0
TXCTR

PWM Transmit Next Pointer Register

Name: PWM_TNPR

Access: read-write

Address: 0x40020118

31 30 29 28 27 26 25 24
TXNPTR
23 22 21 20 19 18 17 16
TXNPTR
15 14 13 12 11 10 9 8
TXNPTR
7 6 5 4 3 2 1 0
TXNPTR

PWM Transmit Next Counter Register

Name: PWM_TNCR

Access: read-write

Address: 0x4002011C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
TXNCTR
7 6 5 4 3 2 1 0
TXNCTR

PWM Transfer Control Register

Name: PWM_PTCR

Access: write-only

Address: 0x40020120

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - TXTDIS TXTEN
7 6 5 4 3 2 1 0
- - - - - - RXTDIS RXTEN

PWM Transfer Status Register

Name: PWM_PTSR

Access: read-only

Address: 0x40020124

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - TXTEN
7 6 5 4 3 2 1 0
- - - - - - - RXTEN