15.3.1.32 PWM Clock Control Register

Legend: C = Clearable bit

Name: APCLKCON
Offset: 0x1400

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
        LOCK 
Access R/W 
Reset 0 
Bit 76543210 
   DIVSEL[1:0] Reserved MCLKSEL 
Access R/WR/WR/WR/W 
Reset 0000 

Bit 8 – LOCK Lock bit

ValueDescription
1

Write-protected registers and bits are locked.

0

Write-protected registers and bits are unlocked.

Bits 5:4 – DIVSEL[1:0] PWM Clock Divider Selection bits

ValueDescription
11

Divide ratio is 1:16.

10

Divide ratio is 1:8.

01

Divide ratio is 1:4.

00

Divide ratio is 1:2.

Bit 2 – Reserved  Maintain as ‘1

Bit 0 – MCLKSEL PWM Master Clock Selection bit

Note: Do not change the MCLKSEL[1:0] bits while ON (PGxCON[15]) = 1.
ValueDescription
1 CKLGEN5
0 UPB clock