13.17.9 PBx Clock Divisor Control

Note: The system unlock sequence must be done before this register can be written. PBx registers include PB1DIV, PB2DIV and PB3DIV. Ensure the PB3DIV[6:0] value is equal to 0x09 or greater if the user is not using Microchip-provided boot code.
Name: PBxDIV
Offset: 0x0130 + (x-1)*0x10 [x=1..3]
Reset: 0x00000000

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 PB1DIVON   PB1DIVRDY    
Access RR 
Reset 11 
Bit 76543210 
  PB1DIV[6:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000001 

Bit 15 – PB1DIVON Output Enable bit

ValueDescription
1 PB1 Output clock is enabled
0 PB1 Output clock is disabled
Note: PB1DIV[PB1DIVON] bit cannot be written to a ‘0’, as this clock is used by the system CLK_RST macro.

Bit 11 – PB1DIVRDY PB1 Peripheral Clock Divisor Ready

ValueDescription
1 Indicates the PB clock divisor logic is not switching divisors and the PB1DIV may be written.
0 Indicates the PB clock divisor logic is currently switching values and the PB1DIV cannot be written.

Bits 6:0 – PB1DIV[6:0] PB1 Peripheral Clock Divisor Control value

ValueDescription
000_0000 Divide by 1 PB1 Clock same frequency as SYS_CLK
000_0001 Divide by 2 PB1 Clock is 1/2 of SYS_CLK
000_0010 Divide by 3 PB1 Clock is 1/3 of SYS_CLK
000_0011 Divide by 4 PB1 Clock is 1/4 of SYS_CLK
... ...
... ...
000_1111 Divide by 16 PB1 Clock is 1/16 of SYS_CLK
001_0000 Divide by 17 PB1 Clock is 1/17 of SYS_CLK
... ...
... ...
111_1110 Divide by 127 PB1 Clock is 1/127 of SYS_CLK
111_1111 Divide by 128 PB1 Clock is 1/128 of SYS_CLK