Datasheet
118
42023E–SAM–07/2013
ATSAM4L8/L4/L2
10.7.3 PBx Clock Select
Name: PBxSEL
Access Type: Read/Write
Offset: 0x00C-0x018
Reset Value: 0x00000000
• PBDIV, PBSEL: PBx Division and Clock Select
PBDIV = 0: APBx clock equals main clock.
PBDIV = 1: APBx clock equals main clock divided by 2
(PBSEL+1)
.
Note that if PBDIV is written to 0, PBSEL should also be written to 0 to ensure correct operation.
Also note that writing this register clears SR.CKRDY. The register must not be re-written until SR.CKRDY goes high.
Note that this register is protected by a lock. To write to this register the UNLOCK register has to be written first. Refer to
Section 10.7.7 ”PM Unlock Register” on page 123 for details.
31 30 29 28 27 26 25 24
--------
23 22 21 20 19 18 17 16
--------
15 14 13 12 11 10 9 8
--------
76543210
PBDIV - - - - PBSEL