Data Sheet
595
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
28.9.2 Clock Unit n Control
Name: CLKCTRLn
Offset: 0x04+n*0x4 [n=0..1]
Reset: 0x00000000
Property: Enable-Protected, Write-Protected
z Bit 31 – MCKOUTINV: Master Clock Output Invert
0: The Master Clock n is output without inversion.
1: The Master Clock n is inverted before being output.
z Bit 30 – SCKOUTINV: Serial Clock Output Invert
0: The Serial Clock n is output without inversion.
1: The Serial Clock n is inverted before being output.
z Bit 29 – FSOUTINV: Frame Sync Output Invert
0: The Frame Sync n is output without inversion.
1: The Frame Sync n is inverted before being output.
z Bits 28:24 – MCKOUTDIV[4:0]: Master Clock Output Division Factor
The generic clock selected by MCKSEL is divided by (MCKOUTDIV + 1) to obtain the Master Clock n output.
z Bits 23:19 – MCKDIV[4:0]: Master Clock Division Factor
The Master Clock n is divided by (MCKDIV + 1) to obtain the Serial Clock n.
z Bit 18 – MCKEN: Master Clock Enable
0: The Master Clock n division and output is disabled.
Bit 3130292827262524
MCKOUTINV SCKOUTINV
FSOUTINV MCKOUTDIV[4:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit 2322212019181716
MCKDIV[4:0] MCKEN
MCKSEL
Access R/W R/W R/W R/W R/W R/W R R/W
Reset00000000
Bit 151413121110 9 8
SCKSEL FSINV FSSEL
AccessRRRR/WR/WRRR/W
Reset00000000
Bit 76543210
BITDELAY FSWIDTH[1:0] NBSLOTS[2:0] SLOTSIZE[1:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000