ATSAMR21G18A GCLK registers The 5 registers of GCLK (Generic Clock Generator), from 0x40000C00, with their reset value and every field. The ATSAMR21G18A has 1140 registers in 35 peripherals, one page each.
GCLK Generic Clock Generator CTRLControl
Address 0x40000C00
Reset 0x00
Access read/write 7 – 6 – 5 – 4 – 3 – 2 – 1 – 0 SWRST 1 field
Field Bits What it does SWRST 0 Software Reset
STATUSStatus
Address 0x40000C01
Reset 0x00
Access read only 7 SYNCBUSY 6 – 5 – 4 – 3 – 2 – 1 – 0 – 1 field
Field Bits What it does SYNCBUSY 7 Synchronization Busy Status
CLKCTRLGeneric Clock Control
Address 0x40000C02
Reset 0x0000
Access read/write
Size 16-bit 4 fields
Field Bits What it does WRTLOCK 15 Write Lock CLKEN 14 Clock Enable GEN 11:8 Generic Clock Generator0 Generic clock generator 01 Generic clock generator 12 Generic clock generator 23 Generic clock generator 34 Generic clock generator 45 Generic clock generator 56 Generic clock generator 67 Generic clock generator 78 Generic clock generator 8 ID 5:0 Generic Clock Selection ID0 DFLL481 FDPLL2 FDPLL32K3 WDT4 RTC5 EIC6 USB7 EVSYS_08 EVSYS_19 EVSYS_210 EVSYS_311 EVSYS_412 EVSYS_513 EVSYS_614 EVSYS_715 EVSYS_816 EVSYS_917 EVSYS_1018 EVSYS_1119 SERCOMX_SLOW20 SERCOM0_CORE21 SERCOM1_CORE22 SERCOM2_CORE23 SERCOM3_CORE24 SERCOM4_CORE25 SERCOM5_CORE26 TCC0_TCC127 TCC2_TC328 TC4_TC530 ADC31 AC_DIG32 AC_ANA35 I2S_036 I2S_1
GENCTRLGeneric Clock Generator Control
Address 0x40000C04
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does RUNSTDBY 21 Run in Standby DIVSEL 20 Divide Selection0 Divide input directly by divider factor1 Divide input by 2^(divider factor+ 1) OE 19 Output Enable OOV 18 Output Off Value IDC 17 Improve Duty Cycle GENEN 16 Generic Clock Generator Enable SRC 12:8 Source Select0 XOSC oscillator output1 Generator input pad2 Generic clock generator 1 output3 OSCULP32K oscillator output4 OSC32K oscillator output5 XOSC32K oscillator output6 OSC8M oscillator output7 DFLL48M output8 DPLL96M output ID 3:0 Generic Clock Generator Selection
GENDIVGeneric Clock Generator Division
Address 0x40000C08
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does DIV 23:8 Division Factor ID 3:0 Generic Clock Generator Selection