ATSAMG51G18 PMC registers

The 24 registers of PMC (Power Management Controller), from 0x400E0400, with their reset value and every field. The ATSAMG51G18 has 569 registers in 26 peripherals, one page each.

PMC Power Management Controller

PMC_SCERSystem Clock Enable Register

Address
0x400E0400
Reset
0x00000000
Access
write only
Size
32-bit
3 fields
FieldBitsWhat it does
PCK210Programmable Clock 2 Output Enable
PCK19Programmable Clock 1 Output Enable
PCK08Programmable Clock 0 Output Enable

PMC_SCDRSystem Clock Disable Register

Address
0x400E0404
Reset
0x00000000
Access
write only
Size
32-bit
3 fields
FieldBitsWhat it does
PCK210Programmable Clock 2 Output Disable
PCK19Programmable Clock 1 Output Disable
PCK08Programmable Clock 0 Output Disable

PMC_SCSRSystem Clock Status Register

Address
0x400E0408
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
PCK210Programmable Clock 2 Output Status
PCK19Programmable Clock 1 Output Status
PCK08Programmable Clock 0 Output Status

PMC_PCER0Peripheral Clock Enable Register 0

Address
0x400E0410
Reset
0x00000000
Access
write only
Size
32-bit
22 fields
FieldBitsWhat it does
PID2929Peripheral Clock 29 Enable
PID2828Peripheral Clock 28 Enable
PID2727Peripheral Clock 27 Enable
PID2626Peripheral Clock 26 Enable
PID2525Peripheral Clock 25 Enable
PID2424Peripheral Clock 24 Enable
PID2323Peripheral Clock 23 Enable
PID2222Peripheral Clock 22 Enable
PID2121Peripheral Clock 21 Enable
PID2020Peripheral Clock 20 Enable
PID1919Peripheral Clock 19 Enable
PID1818Peripheral Clock 18 Enable
PID1717Peripheral Clock 17 Enable
PID1616Peripheral Clock 16 Enable
PID1515Peripheral Clock 15 Enable
PID1414Peripheral Clock 14 Enable
PID1313Peripheral Clock 13 Enable
PID1212Peripheral Clock 12 Enable
PID1111Peripheral Clock 11 Enable
PID1010Peripheral Clock 10 Enable
PID99Peripheral Clock 9 Enable
PID88Peripheral Clock 8 Enable

PMC_PCDR0Peripheral Clock Disable Register 0

Address
0x400E0414
Reset
0x00000000
Access
write only
Size
32-bit
22 fields
FieldBitsWhat it does
PID2929Peripheral Clock 29 Disable
PID2828Peripheral Clock 28 Disable
PID2727Peripheral Clock 27 Disable
PID2626Peripheral Clock 26 Disable
PID2525Peripheral Clock 25 Disable
PID2424Peripheral Clock 24 Disable
PID2323Peripheral Clock 23 Disable
PID2222Peripheral Clock 22 Disable
PID2121Peripheral Clock 21 Disable
PID2020Peripheral Clock 20 Disable
PID1919Peripheral Clock 19 Disable
PID1818Peripheral Clock 18 Disable
PID1717Peripheral Clock 17 Disable
PID1616Peripheral Clock 16 Disable
PID1515Peripheral Clock 15 Disable
PID1414Peripheral Clock 14 Disable
PID1313Peripheral Clock 13 Disable
PID1212Peripheral Clock 12 Disable
PID1111Peripheral Clock 11 Disable
PID1010Peripheral Clock 10 Disable
PID99Peripheral Clock 9 Disable
PID88Peripheral Clock 8 Disable

PMC_PCSR0Peripheral Clock Status Register 0

Address
0x400E0418
Reset
0x00000000
Access
read only
Size
32-bit
22 fields
FieldBitsWhat it does
PID2929Peripheral Clock 29 Status
PID2828Peripheral Clock 28 Status
PID2727Peripheral Clock 27 Status
PID2626Peripheral Clock 26 Status
PID2525Peripheral Clock 25 Status
PID2424Peripheral Clock 24 Status
PID2323Peripheral Clock 23 Status
PID2222Peripheral Clock 22 Status
PID2121Peripheral Clock 21 Status
PID2020Peripheral Clock 20 Status
PID1919Peripheral Clock 19 Status
PID1818Peripheral Clock 18 Status
PID1717Peripheral Clock 17 Status
PID1616Peripheral Clock 16 Status
PID1515Peripheral Clock 15 Status
PID1414Peripheral Clock 14 Status
PID1313Peripheral Clock 13 Status
PID1212Peripheral Clock 12 Status
PID1111Peripheral Clock 11 Status
PID1010Peripheral Clock 10 Status
PID99Peripheral Clock 9 Status
PID88Peripheral Clock 8 Status

CKGR_MORMain Oscillator Register

Address
0x400E0420
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
CFDEN25Clock Failure Detector Enable
MOSCSEL24Main Oscillator Selection
KEY23:16Write Access Password
  • 55 Writing any other value in this field aborts the write operation.Always reads as 0.
MOSCXTST15:8Main Crystal Oscillator Start-up Time
MOSCRCF6:4Main On-Chip RC Oscillator Frequency Selection
  • 0 The Fast RC Oscillator frequency is at 8 MHz (default)
  • 1 The Fast RC Oscillator frequency is at 16 MHz
  • 2 The Fast RC Oscillator frequency is at 24 MHz
MOSCRCEN3Main On-Chip RC Oscillator Enable
WAITMODE2Wait Mode Command (Write-only)
MOSCXTBY1Main Crystal Oscillator Bypass
MOSCXTEN0Main Crystal Oscillator Enable

CKGR_MCFRMain Clock Frequency Register

Address
0x400E0424
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
RCMEAS20RC Oscillator Frequency Measure (write-only)
MAINFRDY16Main Clock Frequency Measure Ready
MAINF15:0Main Clock Frequency

CKGR_PLLARPLLA Register

Address
0x400E0428
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
ZERO29
MULA27:16PLLA Multiplier
PLLACOUNT13:8PLLA Counter
PLLAEN7:0PLLA Control

PMC_MCKRMaster Clock Register

Address
0x400E0430
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
PLLADIV212PLLA Divisor by 2
PRES6:4Processor Clock Prescaler
  • 0 Selected clock
  • 1 Selected clock divided by 2
  • 2 Selected clock divided by 4
  • 3 Selected clock divided by 8
  • 4 Selected clock divided by 16
  • 5 Selected clock divided by 32
  • 6 Selected clock divided by 64
  • 7 Selected clock divided by 3
CSS1:0Master Clock Source Selection
  • 0 Slow Clock is selected
  • 1 Main Clock is selected
  • 2 PLLA Clock is selected

PMC_PCK0Programmable Clock 0 Register 0

Address
0x400E0440
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
PRES6:4Programmable Clock Prescaler
  • 0 Selected clock
  • 1 Selected clock divided by 2
  • 2 Selected clock divided by 4
  • 3 Selected clock divided by 8
  • 4 Selected clock divided by 16
  • 5 Selected clock divided by 32
  • 6 Selected clock divided by 64
CSS2:0Master Clock Source Selection
  • 0 Slow Clock is selected
  • 1 Main Clock is selected
  • 2 PLLA Clock is selected
  • 4 Master Clock is selected

PMC_PCK1Programmable Clock 0 Register 0

Address
0x400E0444
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
PRES6:4Programmable Clock Prescaler
  • 0 Selected clock
  • 1 Selected clock divided by 2
  • 2 Selected clock divided by 4
  • 3 Selected clock divided by 8
  • 4 Selected clock divided by 16
  • 5 Selected clock divided by 32
  • 6 Selected clock divided by 64
CSS2:0Master Clock Source Selection
  • 0 Slow Clock is selected
  • 1 Main Clock is selected
  • 2 PLLA Clock is selected
  • 4 Master Clock is selected

PMC_PCK2Programmable Clock 0 Register 0

Address
0x400E0448
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
PRES6:4Programmable Clock Prescaler
  • 0 Selected clock
  • 1 Selected clock divided by 2
  • 2 Selected clock divided by 4
  • 3 Selected clock divided by 8
  • 4 Selected clock divided by 16
  • 5 Selected clock divided by 32
  • 6 Selected clock divided by 64
CSS2:0Master Clock Source Selection
  • 0 Slow Clock is selected
  • 1 Main Clock is selected
  • 2 PLLA Clock is selected
  • 4 Master Clock is selected

PMC_IERInterrupt Enable Register

Address
0x400E0460
Reset
0x00000000
Access
write only
Size
32-bit
9 fields
FieldBitsWhat it does
CFDEV18Clock Failure Detector Event Interrupt Enable
MOSCRCS17Main On-Chip RC Status Interrupt Enable
MOSCSELS16Main Oscillator Selection Status Interrupt Enable
PCKRDY210Programmable Clock Ready 2 Interrupt Enable
PCKRDY19Programmable Clock Ready 1 Interrupt Enable
PCKRDY08Programmable Clock Ready 0 Interrupt Enable
MCKRDY3Master Clock Ready Interrupt Enable
LOCKA1PLLA Lock Interrupt Enable
MOSCXTS0Main Crystal Oscillator Status Interrupt Enable

PMC_IDRInterrupt Disable Register

Address
0x400E0464
Reset
0x00000000
Access
write only
Size
32-bit
9 fields
FieldBitsWhat it does
CFDEV18Clock Failure Detector Event Interrupt Disable
MOSCRCS17Main On-Chip RC Status Interrupt Disable
MOSCSELS16Main Oscillator Selection Status Interrupt Disable
PCKRDY210Programmable Clock Ready 2 Interrupt Disable
PCKRDY19Programmable Clock Ready 1 Interrupt Disable
PCKRDY08Programmable Clock Ready 0 Interrupt Disable
MCKRDY3Master Clock Ready Interrupt Disable
LOCKA1PLLA Lock Interrupt Disable
MOSCXTS0Main Crystal Oscillator Status Interrupt Disable

PMC_SRStatus Register

Address
0x400E0468
Reset
0x00000000
Access
read only
Size
32-bit
12 fields
FieldBitsWhat it does
FOS20Clock Failure Detector Fault Output Status
CFDS19Clock Failure Detector Status
CFDEV18Clock Failure Detector Event
MOSCRCS17Main On-Chip RC Oscillator Status
MOSCSELS16Main Oscillator Selection Status
PCKRDY210Programmable Clock Ready Status
PCKRDY19Programmable Clock Ready Status
PCKRDY08Programmable Clock Ready Status
OSCSELS7Slow Clock Oscillator Selection
MCKRDY3Master Clock Status
LOCKA1PLLA Lock Status
MOSCXTS0Main Crystal Oscillator Status

PMC_IMRInterrupt Mask Register

Address
0x400E046C
Reset
0x00000000
Access
read only
Size
32-bit
9 fields
FieldBitsWhat it does
CFDEV18Clock Failure Detector Event Interrupt Mask
MOSCRCS17Main On-Chip RC Status Interrupt Mask
MOSCSELS16Main Oscillator Selection Status Interrupt Mask
PCKRDY210Programmable Clock Ready 2 Interrupt Mask
PCKRDY19Programmable Clock Ready 1 Interrupt Mask
PCKRDY08Programmable Clock Ready 0 Interrupt Mask
MCKRDY3Master Clock Ready Interrupt Mask
LOCKA1PLLA Lock Interrupt Mask
MOSCXTS0Main Crystal Oscillator Status Interrupt Mask

PMC_FSMRFast Startup Mode Register

Address
0x400E0470
Reset
0x00000000
Access
read/write
Size
32-bit
20 fields
FieldBitsWhat it does
FLPM22:21Flash Low-power Mode
  • 0 Flash is in Standby Mode when system enters Wait Mode
  • 1 Flash is in Deep-power-down mode when system enters Wait Mode
  • 2 Idle mode
LPM20Low-power Mode
RTCAL17RTC Alarm Enable
RTTAL16RTT Alarm Enable
FSTT1515Fast Startup Input Enable 15
FSTT1414Fast Startup Input Enable 14
FSTT1313Fast Startup Input Enable 13
FSTT1212Fast Startup Input Enable 12
FSTT1111Fast Startup Input Enable 11
FSTT1010Fast Startup Input Enable 10
FSTT99Fast Startup Input Enable 9
FSTT88Fast Startup Input Enable 8
FSTT77Fast Startup Input Enable 7
FSTT66Fast Startup Input Enable 6
FSTT55Fast Startup Input Enable 5
FSTT44Fast Startup Input Enable 4
FSTT33Fast Startup Input Enable 3
FSTT22Fast Startup Input Enable 2
FSTT11Fast Startup Input Enable 1
FSTT00Fast Startup Input Enable 0

PMC_FSPRFast Startup Polarity Register

Address
0x400E0474
Reset
0x00000000
Access
read/write
Size
32-bit
16 fields
FieldBitsWhat it does
FSTP1515Fast Startup Input Polarityx
FSTP1414Fast Startup Input Polarityx
FSTP1313Fast Startup Input Polarityx
FSTP1212Fast Startup Input Polarityx
FSTP1111Fast Startup Input Polarityx
FSTP1010Fast Startup Input Polarityx
FSTP99Fast Startup Input Polarityx
FSTP88Fast Startup Input Polarityx
FSTP77Fast Startup Input Polarityx
FSTP66Fast Startup Input Polarityx
FSTP55Fast Startup Input Polarityx
FSTP44Fast Startup Input Polarityx
FSTP33Fast Startup Input Polarityx
FSTP22Fast Startup Input Polarityx
FSTP11Fast Startup Input Polarityx
FSTP00Fast Startup Input Polarityx

PMC_FOCRFault Output Clear Register

Address
0x400E0478
Reset
0x00000000
Access
write only
Size
32-bit
1 field
FieldBitsWhat it does
FOCLR0Fault Output Clear

PMC_WPMRWrite Protection Mode Register

Address
0x400E04E4
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
WPEN0Write Protection Enable
WPKEY31:8Write Protection Key
  • 5262659 Writing any other value in this field aborts the write operation of the WPEN bit. Always reads as 0.

PMC_WPSRWrite Protection Status Register

Address
0x400E04E8
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
WPVSRC23:8Write Protection Violation Source
WPVS0Write Protection Violation Status

PMC_OCROscillator Calibration Register

Address
0x400E0510
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
SEL2423Selection of RC Oscillator Calibration bits for 24 MHz
CAL2422:16RC Oscillator Calibration bits for 24 MHz
SEL1615Selection of RC Oscillator Calibration bits for 16 MHz
CAL1614:8RC Oscillator Calibration bits for 16 MHz
SEL87Selection of RC Oscillator Calibration bits for 8 MHz
CAL86:0RC Oscillator Calibration bits for 8 MHz

PMC_PMMRPLL Maximum Multiplier Value Register

Address
0x400E0530
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PLLA_MMAX10:0PLLA Maximum Allowed Multiplier Value