52.7.1 PWM Mode Register

Name: PWM_MR
Offset: 0x00
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
     PREB[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
 DIVB[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
     PREA[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 76543210 
 DIVA[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 27:24 – PREB[3:0] CLKB Source Clock Selection

ValueNameDescription
0000 MCK Peripheral clock
0001 MCKDIV2 Peripheral clock divided by 2
0010 MCKDIV4 Peripheral clock divided by 4
0011 MCKDIV8 Peripheral clock divided by 8
0100 MCKDIV16 Peripheral clock divided by 16
0101 MCKDIV32 Peripheral clock divided by 32
0110 MCKDIV64 Peripheral clock divided by 64
0111 MCKDIV128 Peripheral clock divided by 128
1000 MCKDIV256 Peripheral clock divided by 256
1001 MCKDIV512 Peripheral clock divided by 512
1010 MCKDIV1024 Peripheral clock divided by 1024
Other Reserved

Bits 23:16 – DIVB[7:0] CLKB Divide Factor

ValueNameDescription
0 CLK_OFF

The CLKB internal source clock is turned off.

The PWMx output is stuck when PWM_CMRx.CPRE=CLKB.

1 CLK_DIV1 CLKB is the clock selected by PREB.
2–255 CLKB is the clock selected by PREB, divided by the DIVB factor.

Bits 11:8 – PREA[3:0] CLKA Source Clock Selection

ValueNameDescription
0000 MCK Peripheral clock
0001 MCKDIV2 Peripheral clock divided by 2
0010 MCKDIV4 Peripheral clock divided by 4
0011 MCKDIV8 Peripheral clock divided by 8
0100 MCKDIV16 Peripheral clock divided by 16
0101 MCKDIV32 Peripheral clock divided by 32
0110 MCKDIV64 Peripheral clock divided by 64
0111 MCKDIV128 Peripheral clock divided by 128
1000 MCKDIV256 Peripheral clock divided by 256
1001 MCKDIV512

Peripheral clock divided by 512

1010 MCKDIV1024 Peripheral clock divided by 1024
Other Reserved

Bits 7:0 – DIVA[7:0] CLKA Divide Factor

ValueNameDescription
0 CLK_OFF

The CLKA internal source clock is turned off.

The PWMx output is stuck when PWM_CMRx.CPRE=CLKA.

1 CLK_DIV1 CLKA is the clock selected by PREA.
2–255 CLKA is the clock selected by PREA, divided by the DIVA factor.