\n

PWM

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x48 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x50 Bytes (0x0)
size : 0x48 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0xC0 Bytes (0x0)
size : 0x14 byte (0x0)
mem_usage : registers
protection : not protected

Registers

PPR

CMR0

PDR0

CNR1

CMR1

PDR1

CNR2

CMR2

PDR2

CNR3

CMR3

PDR3

PBCR

CSR

PIER

PIIR

CCR0

CCR2

CRLR0

CFLR0

CRLR1

CFLR1

CRLR2

CFLR2

CRLR3

CFLR3

CAPENR

POE

PCR

TCON

TSTATUS

SYNCBUSY0

SYNCBUSY1

SYNCBUSY2

SYNCBUSY3

CNR0

CAPPDMACTL

CAP0PDMA

CAP1PDMA

CAP2PDMA

CAP3PDMA


PPR

PWM Prescaler Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PPR PPR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CP01 CP23 DZI01 DZI23

CP01 : Clock Prescaler 0 (PWM-timer 0 / 1) Clock input is divided by (CP01 + 1) before it is fed to the corresponding PWM-timer.
bits : 0 - 7 (8 bit)
access : read-write

CP23 : Clock Prescaler 2 (PWM Timer2 / 3)\nClock input is divided by (CP23 + 1) before it is fed to the corresponding PWM-timer.\n
bits : 8 - 15 (8 bit)
access : read-write

DZI01 : Dead-zone Interval for Pair of Channel 0 and Channel 1 (PWM0 and PWM1 Pair)\nThese 8 bits determine dead-zone length.\nThe unit time of dead-zone length is received from corresponding CSR bits.
bits : 16 - 23 (8 bit)
access : read-write

DZI23 : Dead-zone Interval for Pair of Channel2 and Channel3 (PWM2 and PWM3 Pair)\nThese 8 bits determine dead-zone length.\nThe unit time of dead-zone length is received from corresponding CSR bits.
bits : 24 - 31 (8 bit)
access : read-write


CMR0

PWM Comparator Register 0
address_offset : 0x10 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CMRx : PWM Comparator Register\nCMR determines the PWM duty.\nNote: Any write to CNR will take effect in the next PWM cycle.
bits : 0 - 15 (16 bit)
access : read-write


PDR0

PWM Data Register 0
address_offset : 0x14 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

PDRx : PWM Data Register\nUser can monitor PDR to know the current value in 16-bit down counter.
bits : 0 - 15 (16 bit)
access : read-only


CNR1

PWM Counter Register 1
address_offset : 0x18 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CMR1

PWM Comparator Register 1
address_offset : 0x1C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

PDR1

PWM Data Registe 1
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CNR2

PWM Counter Register 2
address_offset : 0x24 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CMR2

PWM Comparator Register 2
address_offset : 0x28 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

PDR2

PWM Data Register 2
address_offset : 0x2C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CNR3

PWM Counter Register 3
address_offset : 0x30 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CMR3

PWM Comparator Register 3
address_offset : 0x34 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

PDR3

PWM Data Register 3
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

PBCR

PWM backward compatible Register
address_offset : 0x3C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CSR

PWM Clock Selector Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CSR CSR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CSR0 CSR1 CSR2 CSR3

CSR0 : PWM Timer 0 Clock Source Selection (PWM Timer 0)\nSelect clock input for PWM timer.\n(Table is the same as CSR3.)
bits : 0 - 2 (3 bit)
access : read-write

CSR1 : PWM Timer 1 Clock Source Selection (PWM Timer 1)\nSelect clock input for PWM timer.\n(Table is the same as CSR3.)
bits : 4 - 6 (3 bit)
access : read-write

CSR2 : PWM Timer 2 Clock Source Selection (PWM Timer 2)\nSelect clock input for PWM timer.\n(Table is the same as CSR3.)
bits : 8 - 10 (3 bit)
access : read-write

CSR3 : PWM Timer 3 Clock Source Selection (PWM timer 3)\n
bits : 12 - 14 (3 bit)
access : read-write


PIER

PWM Interrupt Enable Register
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PIER PIER read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PWMIE0 PWMIE1 PWMIE2 PWMIE3 PWMDIE0 PWMDIE1 PWMDIE2 PWMDIE3 INTTYPE01 INTTYPE23

PWMIE0 : PWM Channel 0 Interrupt Enable\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMIE1 : PWM Channel 1 Interrupt Enable\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMIE2 : PWM Channel 2 Interrupt Enable\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMIE3 : PWM Channel 3 Interrupt Enable\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMDIE0 : PWM Channel 0 Duty Interrupt Enable\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMDIE1 : PWM Channel 1 Duty Interrupt Enable\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMDIE2 : PWM Channel 2 Duty Interrupt Enable\n
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

PWMDIE3 : PWM Channel 3 Duty Interrupt Enable\n
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

INTTYPE01 : PWM01 Interrupt Type Selection Bit (PWM0 and PWM1 Pair)\nNote: This bit is effective when PWM in central align mode only.
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWMIFn will be set if PWM counter underflow

#1 : 1

PWMIFn will be set if PWM counter matches CNRn register

End of enumeration elements list.

INTTYPE23 : PWM12 Interrupt Type Selection Bit (PWM2 and PWM3 Pair)\nNote: This bit is effective when PWM in central align mode only.
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWMIFn will be set if PWM counter underflow

#1 : 1

PWMIFn will be set if PWM counter matches CNRn register

End of enumeration elements list.


PIIR

PWM Interrupt Indication Register
address_offset : 0x44 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PIIR PIIR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PWMIF0 PWMIF1 PWMIF2 PWMIF3 PWMDIF0 PWMDIF1 PWMDIF2 PWMDIF3

PWMIF0 : PWM channel 0 Interrupt Status\nThis bit is set by hardware when PWM0 counter reaches the requirement of interrupt (depending on INTTYPE01 bit of PIER register) if PWM0 interrupt enable bit (PWMIE0) is 1, software can write 1 to clear this bit to zero
bits : 0 - 0 (1 bit)
access : read-write

PWMIF1 : PWM channel 1 Interrupt Status\nThis bit is set by hardware when PWM1 counter reaches the requirement of interrupt (depending on INTTYPE01 bit of PIER register) if PWM1 interrupt enable bit (PWMIE1) is 1, software can write 1 to clear this bit to zero
bits : 1 - 1 (1 bit)
access : read-write

PWMIF2 : PWM channel 2 Interrupt Status\nThis bit is set by hardware when PWM2 counter reaches the requirement of interrupt (depending on INTTYPE23 bit of PIER register) if PWM2 interrupt enable bit (PWMIE2) is 1, software can write 1 to clear this bit to zero
bits : 2 - 2 (1 bit)
access : read-write

PWMIF3 : PWM channel 3 Interrupt Status\nThis bit is set by hardware when PWM3 counter reaches the requirement of interrupt (depending on INTTYPE23 bit of PIER register) if PWM3 interrupt enable bit (PWMIE3) is 1, software can write 1 to clear this bit to zero
bits : 3 - 3 (1 bit)
access : read-write

PWMDIF0 : PWM channel 0 Duty Interrupt Flag\nFlag is set by hardware when channel 0 PWM counter down count and reaches CMR0, software can clear this bit by writing a one to it.\nNote: If CMR is equal to CNR, this flag is not working
bits : 8 - 8 (1 bit)
access : read-write

PWMDIF1 : PWM channel 1 Duty Interrupt Flag\nFlag is set by hardware when channel 1 PWM counter down count and reaches CMR1, software can clear this bit by writing a one to it.\nNote: If CMR is equal to CNR, this flag is not working
bits : 9 - 9 (1 bit)
access : read-write

PWMDIF2 : PWM channel 2 Duty Interrupt Flag\nFlag is set by hardware when channel 2 PWM counter down count and reaches CMR2, software can clear this bit by writing a one to it.\nNote: If CMR is equal to CNR, this flag is not working
bits : 10 - 10 (1 bit)
access : read-write

PWMDIF3 : PWM channel 3 Duty Interrupt Flag\nFlag is set by hardware when channel 3 PWM counter down count and reaches CMR3, software can clear this bit by writing a one to it.\nNote: If CMR is equal to CNR, this flag is not working
bits : 11 - 11 (1 bit)
access : read-write


CCR0

PWM Capture Control Register 0
address_offset : 0x50 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CCR0 CCR0 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INV0 CRL_IE0 CFL_IE0 CAPCH0EN CAPIF0 CRLRI0 CFLRI0 INV1 CRL_IE1 CFL_IE1 CAPCH1EN CAPIF1 CRLRI1 CFLRI1

INV0 : Channel 0 Inverter Enable\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled. Reverse the input signal from GPIO before fed to Capture timer

End of enumeration elements list.

CRL_IE0 : Channel 0 Rising Latch Interrupt Enable\nWhen Enabled, if capture detects PWM group channel 0 has rising transition, capture issues an Interrupt.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Rising latch interrupt Disabled

#1 : 1

Rising latch interrupt Enabled

End of enumeration elements list.

CFL_IE0 : Channel 0 Falling Latch Interrupt Enable\nWhen Enabled, if capture detects PWM group channel 0 has falling transition, capture issues an Interrupt.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Falling latch interrupt Disabled

#1 : 1

Falling latch interrupt Enabled

End of enumeration elements list.

CAPCH0EN : Channel 0 Capture Function Enable\nWhen Enabled, Capture latched the PWM-counter value and saved to CRLR (Rising latch) and CFLR (Falling latch).\nWhen Disabled, capture does not update CRLR and CFLR, and disable PWM group channel 0 Interrupt.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capture function on PWM group channel 0 Disabled

#1 : 1

Capture function on PWM group channel 0 Enabled

End of enumeration elements list.

CAPIF0 : Channel 0 Capture Interrupt Indication Flag\nWrite 1 to clear this bit to zero
bits : 4 - 4 (1 bit)
access : read-write

CRLRI0 : CRLR0 Latched Indicator Bit\nWhen PWM group input channel 0 has a rising transition, CRLR0 was latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 6 - 6 (1 bit)
access : read-write

CFLRI0 : CFLR0 Latched Indicator Bit\nWhen PWM group input channel 0 has a falling transition, CFLR0 was latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 7 - 7 (1 bit)
access : read-write

INV1 : Channel 1 Inverter Enable\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled. Reverse the input signal from GPIO before fed to Capture timer

End of enumeration elements list.

CRL_IE1 : Channel 1 Rising Latch Interrupt Enable\nWhen Enable, if Capture detects PWM group channel 1 has rising transition, capture issues an Interrupt.
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

Rising latch interrupt Disabled

#1 : 1

Rising latch interrupt Enabled

End of enumeration elements list.

CFL_IE1 : Channel 1 Falling Latch Interrupt Enable\nWhen Enabled, if Capture detects PWM group channel 1 has falling transition, capture issues an Interrupt.
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

Falling latch interrupt Disabled

#1 : 1

Falling latch interrupt Enabled

End of enumeration elements list.

CAPCH1EN : Channel 1 Capture Function Enable\nWhen Enabled, Capture latched the PWM-counter and saved to CRLR (Rising latch) and CFLR (Falling latch).\nWhen Disabled, Capture does not update CRLR and CFLR, and disable PWM group channel 1 Interrupt.
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capture function on PWM group channel 1 Disabled

#1 : 1

Capture function on PWM group channel 1 Enabled

End of enumeration elements list.

CAPIF1 : Channel 1 Capture Interrupt Indication Flag\nWrite 1 to clear this bit to zero
bits : 20 - 20 (1 bit)
access : read-write

CRLRI1 : CRLR1 Latched Indicator Bit\nWhen PWM group input channel 1 has a rising transition, CRLR1 is latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 22 - 22 (1 bit)
access : read-write

CFLRI1 : CFLR1 Latched Indicator Bit\nWhen PWM group input channel 1 has a falling transition, CFLR1 is latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 23 - 23 (1 bit)
access : read-write


CCR2

PWM Capture Control Register 2
address_offset : 0x54 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CCR2 CCR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INV2 CRL_IE2 CFL_IE2 CAPCH2EN CAPIF2 CRLRI2 CFLRI2 INV3 CRL_IE3 CFL_IE3 CAPCH3EN CAPIF3 CRLRI3 CFLRI3

INV2 : Channel 2 Inverter Enable\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled. Reverse the input signal from GPIO before fed to Capture timer

End of enumeration elements list.

CRL_IE2 : Channel 2 Rising Latch Interrupt Enable\nWhen Enabled, if Capture detects PWM group channel 2 has rising transition, Capture issues an Interrupt.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Rising latch interrupt Disabled

#1 : 1

Rising latch interrupt Enabled

End of enumeration elements list.

CFL_IE2 : Channel 2 Falling Latch Interrupt Enable\nWhen Enabled, if capture detects PWM group channel 2 has falling transition, capture issues an Interrupt.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Falling latch interrupt Disabled

#1 : 1

Falling latch interrupt Enabled

End of enumeration elements list.

CAPCH2EN : Channel 2 Capture Function Enable\nWhen Enabled, capture latched the PWM-counter value and saved to CRLR (Rising latch) and CFLR (Falling latch).\nWhen Disabled, capture does not update CRLR and CFLR, and disable PWM group channel 2 Interrupt.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capture function on PWM group channel 2 Disabled

#1 : 1

Capture function on PWM group channel 2 Enabled

End of enumeration elements list.

CAPIF2 : Channel 2 Capture Interrupt Indication Flag\nWrite 1 to clear this bit to zero
bits : 4 - 4 (1 bit)
access : read-write

CRLRI2 : CRLR2 Latched Indicator Bit\nWhen PWM group input channel 2 has a rising transition, CRLR2 was latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 6 - 6 (1 bit)
access : read-write

CFLRI2 : CFLR2 Latched Indicator Bit\nWhen PWM group input channel 2 has a falling transition, CFLR2 was latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 7 - 7 (1 bit)
access : read-write

INV3 : Channel 3 Inverter Enable\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled. Reverse the input signal from GPIO before fed to Capture timer

End of enumeration elements list.

CRL_IE3 : Channel 3 Rising Latch Interrupt Enable\nWhen Enabled, if Capture detects PWM group channel 3 has rising transition, capture issues an Interrupt.
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

Rising latch interrupt Disabled

#1 : 1

Rising latch interrupt Enabled

End of enumeration elements list.

CFL_IE3 : Channel 3 Falling Latch Interrupt Enable\nWhen Enabled, if capture detects PWM group channel 3 has falling transition, capture issues an Interrupt.
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

Falling latch interrupt Disabled

#1 : 1

Falling latch interrupt Enabled

End of enumeration elements list.

CAPCH3EN : Channel 3 Capture Function Enable\nWhen Enabled, capture latched the PWM-counter and saved to CRLR (Rising latch) and CFLR (Falling latch).\nWhen Disabled, capture does not update CRLR and CFLR, and disable PWM group channel 3 Interrupt.
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

Capture function on PWM group channel 3 Disabled

#1 : 1

Capture function on PWM group channel 3 Enabled

End of enumeration elements list.

CAPIF3 : Channel 3 Capture Interrupt Indication Flag\nWrite 1 to clear this bit to zero
bits : 20 - 20 (1 bit)
access : read-write

CRLRI3 : CRLR3 Latched Indicator Bit\nWhen PWM group input channel 3 has a rising transition, CRLR3 was latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 22 - 22 (1 bit)
access : read-write

CFLRI3 : CFLR3 Latched Indicator Bit\nWhen PWM group input channel 3 has a falling transition, CFLR3 was latched with the value of PWM down-counter and this bit is set by hardware.\nSoftware can write 0 to clear this bit to zero if BCn bit is 0, and can write 1 to clear this bit to zero if BCn bit is 1.
bits : 23 - 23 (1 bit)
access : read-write


CRLR0

PWM Capture Rising Latch Register (Channel 0)
address_offset : 0x58 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CRLRx : Capture Rising Latch Register\nLatch the PWM counter when Channel 0/1/2/3 has rising transition.
bits : 0 - 15 (16 bit)
access : read-only


CFLR0

PWM Capture Falling Latch Register (Channel 0)
address_offset : 0x5C Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CFLRx : Capture Falling Latch Register\nLatch the PWM counter when Channel 01/2/3 has Falling transition.
bits : 0 - 15 (16 bit)
access : read-only


CRLR1

PWM Capture Rising Latch Register (Channel 1)
address_offset : 0x60 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CFLR1

PWM Capture Falling Latch Register (Channel 1)
address_offset : 0x64 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CRLR2

PWM Capture Rising Latch Register (Channel 2)
address_offset : 0x68 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CFLR2

PWM Capture Falling Latch Register (Channel 2)
address_offset : 0x6C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CRLR3

PWM Capture Rising Latch Register (Channel 3)
address_offset : 0x70 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CFLR3

PWM Capture Falling Latch Register (Channel 3)
address_offset : 0x74 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CAPENR

PWM Capture Input 0~3 Enable Register
address_offset : 0x78 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CAPENR : Capture Input Enable Register There are four capture inputs from pad. Bit0~Bit3 are used to control each input enable or disable. CAPENR Bit 3210 for PWM group A Bit xxx1 ( Capture channel 0 is from pin PA.12 Bit xx1x ( Capture channel 1 is from pin PA.13 Bit x1xx ( Capture channel 2 is from pin PA.14 Bit 1xxx ( Capture channel 3 is from pin PA.15 Bit 3210 for PWM group B Bit xxx1 ( Capture channel 0 is from pin PB.11 Bit xx1x ( Capture channel 1 is from pin PE.5 Bit x1xx ( Capture channel 2 is from pin PE.0 Bit 1xxx ( Capture channel 3 is from pin PE.1
bits : 0 - 3 (4 bit)
access : read-write

Enumeration:

0 : 0

Disabled (PWMx multi-function pin input does not affect input capture function.)

1 : 1

Enabled (PWMx multi-function pin input will affect its input capture function.)

End of enumeration elements list.


POE

PWM Output Enable for channel 0~3
address_offset : 0x7C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

POE POE read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PWM0 PWM1 PWM2 PWM3

PWM0 : Channel 0 Output Enable Register\nNote: The corresponding GPIO pin must also be switched to PWM function.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 0 output to pin Disabled

#1 : 1

PWM channel 0 output to pin Enabled

End of enumeration elements list.

PWM1 : Channel 1 Output Enable Register\nNote: The corresponding GPIO pin must also be switched to PWM function.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 1 output to pin Disabled

#1 : 1

PWM channel 1 output to pin Enabled

End of enumeration elements list.

PWM2 : Channel 2 Output Enable Register\nNote: The corresponding GPIO pin must also be switched to PWM function.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 2 output to pin Disabled

#1 : 1

PWM channel 2 output to pin Enabled

End of enumeration elements list.

PWM3 : Channel 3 Output Enable Register\nNote: The corresponding GPIO pin must also be switched to PWM function.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 3 output to pin Disabled

#1 : 1

PWM channel 3 output to pin Enabled

End of enumeration elements list.


PCR

PWM Control Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PCR PCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CH0EN CH0PINV CH0INV CH0MOD DZEN01 DZEN23 CH1EN CH1PINV CH1INV CH1MOD CH2EN CH2PINV CH2INV CH2MOD CH3EN CH3PINV CH3INV CH3MOD PWMTYPE01 PWMTYPE23

CH0EN : PWM-Timer 0 Enable (PWM timer 0)\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Corresponding PWM-Timer Running Stopped

#1 : 1

Corresponding PWM-Timer Start Run Enabled

End of enumeration elements list.

CH0PINV : PWM-Timer 0 Output Polar Inverse Enable (PWM Timer 0)\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM0 output polar inverse Disabled

#1 : 1

PWM0 output polar inverse Enabled

End of enumeration elements list.

CH0INV : PWM-Timer 0 Output Inverter Enable (PWM Timer 0)\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled

End of enumeration elements list.

CH0MOD : PWM-Timer 0 Auto-reload/One-Shot Mode (PWM Timer 0)\nNote: If there is a transition at this bit, it will cause CNR0 and CMR0 be clear.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

One-shot mode

#1 : 1

Auto-reload mode

End of enumeration elements list.

DZEN01 : Dead-Zone 0 Generator Enable (PWM0 and PWM1 Pair)\nNote: When dead-zone generator is enabled, the pair of PWM0 and PWM1 becomes a complementary pair for PWM group A.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

DZEN23 : Dead-Zone 2 Generator Enable (PWM2 and PWM3 Pair)\nNote: When dead-zone generator is enabled, the pair of PWM2 and PWM3 becomes a complementary pair for PWM group A and the pair of PWM6 and PWM7 becomes a complementary pair for PWM group B.
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

CH1EN : PWM-Timer 1 Enable (PWM Timer 1)\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Corresponding PWM-Timer Running Stopped

#1 : 1

Corresponding PWM-Timer Start Run Enabled

End of enumeration elements list.

CH1PINV : PWM-Timer 1 Output Polar Inverse Enable (PWM Timer 1)\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM1 output polar inverse Disabled

#1 : 1

PWM1 output polar inverse Enabled

End of enumeration elements list.

CH1INV : PWM-Timer 1 Output Inverter Enable (PWM Timer 1)\n
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled

End of enumeration elements list.

CH1MOD : PWM-Timer 1 Auto-reload/One-Shot Mode (PWM Timer 1)\nNote: If there is a transition at this bit, it will cause CNR1 and CMR1 be clear.
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

One-shot mode

#1 : 1

Auto-load mode

End of enumeration elements list.

CH2EN : PWM-Timer 2 Enable (PWM Timer 2)\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Corresponding PWM-Timer Running Stopped

#1 : 1

Corresponding PWM-Timer Start Run Enabled

End of enumeration elements list.

CH2PINV : PWM-Timer 2 Output Polar Inverse Enable (PWM Timer 2)\n
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM2 output polar inverse Disabled

#1 : 1

PWM2 output polar inverse Enabled

End of enumeration elements list.

CH2INV : PWM-Timer 2 Output Inverter Enable (PWM Timer 2)\n
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled

End of enumeration elements list.

CH2MOD : PWM-Timer 2 Auto-reload/One-Shot Mode (PWM Timer 2)\nNote: If there is a transition at this bit, it will cause CNR2 and CMR2 be clear.
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

One-shot mode

#1 : 1

Auto-reload mode

End of enumeration elements list.

CH3EN : PWM-Timer 3 Enable (PWM Timer 3)\n
bits : 24 - 24 (1 bit)
access : read-write

Enumeration:

#0 : 0

Corresponding PWM-Timer Running Stopped

#1 : 1

Corresponding PWM-Timer Start Run Enabled

End of enumeration elements list.

CH3PINV : PWM-Timer 3 Output Polar Inverse Enable (PWM Timer 3)\n
bits : 25 - 25 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM3 output polar inverse Disabled

#1 : 1

PWM3 output polar inverse Enabled

End of enumeration elements list.

CH3INV : PWM-Timer 3 Output Inverter Enable (PWM Timer 3)\n
bits : 26 - 26 (1 bit)
access : read-write

Enumeration:

#0 : 0

Inverter Disabled

#1 : 1

Inverter Enabled

End of enumeration elements list.

CH3MOD : PWM-Timer 3 Auto-reload/One-Shot Mode (PWM Timer 3)\nNote: If there is a transition at this bit, it will cause CNR3 and CMR3 be clear.
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

#0 : 0

One-shot mode

#1 : 1

Auto-reload mode

End of enumeration elements list.

PWMTYPE01 : PWM01 Aligned Type Selection Bit (PWM0 and PWM1 Pair)\n
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

Edge-aligned type

#1 : 1

Center-aligned type

End of enumeration elements list.

PWMTYPE23 : PWM23 Aligned Type Selection Bit (PWM2 and PWM3 Pair)\n
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

Edge-aligned type

#1 : 1

Center-aligned type

End of enumeration elements list.


TCON

PWM Trigger Control for channel 0~3
address_offset : 0x80 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TCON TCON read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PWM0TEN PWM1TEN PWM2TEN PWM3TEN

PWM0TEN : Channel 0 Center-Aligned Trigger Enable Register\nPWM can trigger ADC to start conversion when PWM counter counts up to CNR if this bit is set to 1.\nNote: This function is only supported when PWM operating in Center-aligned mode.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 0 trigger ADC function Disabled

#1 : 1

PWM channel 0 trigger ADC function Enabled

End of enumeration elements list.

PWM1TEN : Channel 1 Center-Aligned Trigger Enable Register\nPWM can trigger ADC to start conversion when PWM counter counts up to CNR if this bit is set to 1.\nNote: This function is only supported when PWM operating in Center-aligned mode
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 1 trigger ADC function Disabled

#1 : 1

PWM channel 1 trigger ADC function Enabled

End of enumeration elements list.

PWM2TEN : Channel 2 Center-Aligned Trigger Enable Register\nPWM can trigger ADC to start conversion when PWM counter counts up to CNR if this bit is set to 1.\nNote: This function is only supported when PWM operating in Center-aligned mode.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 2 trigger ADC function Disabled

#1 : 1

PWM channel 2 trigger ADC function Enabled

End of enumeration elements list.

PWM3TEN : Channel 3 Center-Aligned Trigger Enable Register\nPWM can trigger ADC to start conversion when PWM counter counts up to CNR if this bit is set to 1.\nNote: This function is only supported when PWM operating in Center-aligned mode.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM channel 3 trigger ADC function Disabled

#1 : 1

PWM channel 3 trigger ADC function Enabled

End of enumeration elements list.


TSTATUS

PWM Trigger Status Register
address_offset : 0x84 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

TSTATUS TSTATUS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PWM0TF PWM1TF PWM2TF PWM3TF

PWM0TF : Channel 0 Center-aligned Trigger Flag\nFor Center-aligned operating mode, this bit is set to 1 by hardware when PWM counter up count to CNR if PWM0TEN bit is set to 1. After this bit is set to 1, ADC will start conversion if ADC triggered source is selected by PWM.\nSoftware can write 1 to clear this bit.
bits : 0 - 0 (1 bit)
access : read-write

PWM1TF : Channel 1 Center-aligned Trigger Flag\nFor Center-aligned operating mode, this bit is set to 1 by hardware when PWM counter up count to CNR if PWM1TEN bit is set to 1. After this bit is set to 1, ADC will start conversion if ADC triggered source is selected by PWM.\nSoftware can write 1 to clear this bit.
bits : 1 - 1 (1 bit)
access : read-write

PWM2TF : Channel 2 Center-aligned Trigger Flag\nFor Center-aligned operating mode, this bit is set to 1 by hardware when PWM counter up count to CNR if PWM2TEN bit is set to 1. After this bit is set to 1, ADC will start conversion if ADC triggered source is selected by PWM.\nSoftware can write 1 to clear this bit.
bits : 2 - 2 (1 bit)
access : read-write

PWM3TF : Channel 3 Center-aligned Trigger Flag\nFor Center-aligned operating mode, this bit is set to 1 by hardware when PWM counter up count to CNR if PWM3TEN bit is set to 1. After this bit is set to 1, ADC will start conversion if ADC triggered source is selected by PWM.\nSoftware can write 1 to clear this bit.
bits : 3 - 3 (1 bit)
access : read-write


SYNCBUSY0

PWM0 Synchronous Busy Status Register
address_offset : 0x88 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

S_BUSY : PWM Synchronous Busy\nWhen software writes CNR0/CMR0/PPR or switch PWM0 operation mode (PCR[3]), PWM will have a busy time to update these values completely because PWM clock may be different from system clock domain. Software needs to check this busy status before writes CNR0/CMR0/PPR or switch PWM0 operation mode (PCR[3]) to make sure previous setting has been update completely.\nThis bit will be set when software write CNR0/CMR0/PPR or switch PWM0 operation mode (PCR[3]) and will be cleared by hardware automatically when PWM update these value completely.
bits : 0 - 0 (1 bit)
access : read-only


SYNCBUSY1

PWM1 Synchronous Busy Status Register
address_offset : 0x8C Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

S_BUSY : PWM Synchronous Busy\nWhen software writes CNR1/CMR1/PPR or switches PWM1 operation mode (PCR[11]), PWM will have a busy time to update these values completely because PWM clock may be different from system clock domain. Software needs to check this busy status before writing CNR1/CMR1/PPR or switching PWM1 operation mode (PCR[11]) to make sure the previous setting has been updated completely.\nThis bit will be set when software write CNR1/CMR1/PPR or switch PWM1 operation mode (PCR[11]) and will be cleared by hardware automatically when PWM updates these value completely.
bits : 0 - 0 (1 bit)
access : read-only


SYNCBUSY2

PWM2 Synchronous Busy Status Register
address_offset : 0x90 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

S_BUSY : PWM Synchronous Busy\nWhen software writes CNR2/CMR2/PPR or switch PWM2 operation mode (PCR[19]), PWM will have a busy time to update these values completely because PWM clock may be different from system clock domain. Software needs to check this busy status before writing CNR2/CMR2/PPR or switching PWM2 operation mode (PCR[19]) to make sure the previous setting has been updated completely.\nThis bit will be set when software write CNR2/CMR2/PPR or switch PWM2 operation mode (PCR[19]) and will be cleared by hardware automatically when PWM updates these value completely.
bits : 0 - 0 (1 bit)
access : read-only


SYNCBUSY3

PWM3 Synchronous Busy Status Register
address_offset : 0x94 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

S_BUSY : PWM Synchronous Busy\nWhen software writes CNR3/CMR3/PPR or switch PWM3 operation mode (PCR[27]), PWM will have a busy time to update these values completely because PWM clock may be different from system clock domain. Software needs to check this busy status before writing CNR3/CMR3/PPR or switching PWM3 operation mode (PCR[27]) to make sure the previous setting has been updated completely.\nThis bit will be set when software write CNR3/CMR3/PPR or switch PWM3 operation mode (PCR[27]) and will be cleared by hardware automatically when PWM updates these value completely.
bits : 0 - 0 (1 bit)
access : read-only


CNR0

PWM Counter Register 0
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

CNRx : PWM Timer Loaded Value\nCNR determines the PWM period.\nNote: Any write to CNR will take effect in the next PWM cycle.\nNote: When PWM operating at center-aligned type, CNR value should be set between 0x0000 to 0xFFFE. If CNR equal to 0xFFFF, the PWM will work unpredictable.\nNote: When CNR value is set to 0, PWM output is always high.
bits : 0 - 15 (16 bit)
access : read-write


CAPPDMACTL

PWM PDMA Control Register
address_offset : 0xC0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CAPPDMACTL CAPPDMACTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CAP0PDMAEN CAP0PDMAMOD CAP0RFORDER CAP1PDMAEN CAP1PDMAMOD CAP1RFORDER CAP2PDMAEN CAP2PDMAMOD CAP2RFORDER CAP3PDMAEN CAP3PDMAMOD CAP3RFORDER

CAP0PDMAEN : Channel 0 PDMA Enable\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Channel 0 PDMA function Disabled

#1 : 1

Channel 0 PDMA function Enabled for the channel 0 captured data and transfer to memory

End of enumeration elements list.

CAP0PDMAMOD : Select CRLR0 or CFLR0 to Transfer PDMA\n
bits : 1 - 2 (2 bit)
access : read-write

Enumeration:

#00 : 0

Reserved

#01 : 1

CRLR0

#10 : 2

CFLR0

#11 : 3

Both CRLR0 and CFLR0

End of enumeration elements list.

CAP0RFORDER : None
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

CFLR0 is the first captured data to memory

#1 : 1

CRLR0 is the first captured data to memory

End of enumeration elements list.

CAP1PDMAEN : Channel 1 PDMA Enable\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Channel 1 PDMA function Disabled

#1 : 1

Channel 1 PDMA function Enabled for the channel 1 captured data and transfer to memory

End of enumeration elements list.

CAP1PDMAMOD : Select CRLR1 or CFLR1 to Transfer PDMA\n
bits : 9 - 10 (2 bit)
access : read-write

Enumeration:

#00 : 0

Reserved

#01 : 1

CRLR1

#10 : 2

CFLR1

#11 : 3

both CRLR1 and CFLR1

End of enumeration elements list.

CAP1RFORDER : Capture channel 1 Rising/Falling Order\n
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

CFLR1 is the first captured data to memory

#1 : 1

CRLR1 is the first captured data to memory

End of enumeration elements list.

CAP2PDMAEN : Channel 2 PDMA Enable\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

Channel 2 PDMA function Disabled

#1 : 1

Channel 2 PDMA function Enabled for the channel 2 captured data and transfer to memory

End of enumeration elements list.

CAP2PDMAMOD : Select CRLR2 or CFLR2 to do PDMA Transfer\n
bits : 17 - 18 (2 bit)
access : read-write

Enumeration:

#00 : 0

Reserved

#01 : 1

CRLR2

#10 : 2

CFLR2

#11 : 3

Both CRLR2 and CFLR2

End of enumeration elements list.

CAP2RFORDER : Capture channel 2 Rising/Falling Order\n
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

CFLR2 is the first captured data to memory

#1 : 1

CRLR2 is the first captured data to memory

End of enumeration elements list.

CAP3PDMAEN : Channel 3 PDMA enable\n
bits : 24 - 24 (1 bit)
access : read-write

Enumeration:

#0 : 0

Channel 3 PDMA function Disabled

#1 : 1

Channel 3 PDMA function Enabled for the channel 3 captured data and transfer to memory

End of enumeration elements list.

CAP3PDMAMOD : Select CRLR3 or CFLR3 to do PDMA Transfer\n
bits : 25 - 26 (2 bit)
access : read-write

Enumeration:

#00 : 0

Reserved

#01 : 1

CRLR3

#10 : 2

CFLR3

#11 : 3

Both CRLR3 and CFLR3

End of enumeration elements list.

CAP3RFORDER : Capture Channel 3 Rising/Falling Order\n
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

#0 : 0

CFLR3 is the first captured data to memory

#1 : 1

CRLR3 is the first captured data to memory

End of enumeration elements list.


CAP0PDMA

PWM PDMA Channel 0 Data Register
address_offset : 0xC4 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CAP0RFPDMA : PDMA data register for channel 0\nit is the capturing value(CFLR0/CRLR0) for channel 0
bits : 0 - 15 (16 bit)
access : read-only


CAP1PDMA

PWM PDMA Channel 1 Data Register
address_offset : 0xC8 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CAP1RFPDMA : PDMA data register for channel 1\nit is the capturing value(CFLR1/CRLR1) for channel 1
bits : 0 - 15 (16 bit)
access : read-only


CAP2PDMA

PWM PDMA Channel 2 Data Register
address_offset : 0xCC Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CAP2RFPDMA : PDMA data register for channel 2\nit is the capturing value(CFLR2/CRLR2) for channel 2
bits : 0 - 15 (16 bit)
access : read-only


CAP3PDMA

PWM PDMA Channel 3 Data Register
address_offset : 0xD0 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

CAP3RFPDMA : PDMA data register for channel 3\nit is the capturing value(CFLR3/CRLR3) for channel 3
bits : 0 - 15 (16 bit)
access : read-only



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.