SAM3S8 PMC

Power Management Controller (PMC) User Interface

Registers

Register Mapping
Address Register Name Access Reset
0x400E0400 System Clock Enable Register PMC_SCER write-only -
0x400E0404 System Clock Disable Register PMC_SCDR write-only -
0x400E0408 System Clock Status Register PMC_SCSR read-only 0x00000001
0x400E0410 Peripheral Clock Enable Register 0 PMC_PCER0 write-only -
0x400E0414 Peripheral Clock Disable Register 0 PMC_PCDR0 write-only -
0x400E0418 Peripheral Clock Status Register 0 PMC_PCSR0 read-only 0x00000000
0x400E0420 Main Oscillator Register PMC_MOR read-write 0x00000001
0x400E0424 Main Clock Frequency Register PMC_MCFR read-write 0x00000000
0x400E0428 PLLA Register PMC_PLLAR read-write 0x00003F00
0x400E042C PLLB Register PMC_PLLBR read-write 0x00003F00
0x400E0430 Master Clock Register PMC_MCKR read-write 0x00000001
0x400E0438 USB Clock Register PMC_USB read-write 0x00000000
0x400E0440 Programmable Clock 0 Register PMC_PCK[3] read-write 0x0
0x400E0460 Interrupt Enable Register PMC_IER write-only -
0x400E0464 Interrupt Disable Register PMC_IDR write-only -
0x400E0468 Status Register PMC_SR read-only 0x00010008
0x400E046C Interrupt Mask Register PMC_IMR read-only 0x00000000
0x400E0470 Fast Startup Mode Register PMC_FSMR read-write 0x00000000
0x400E0474 Fast Startup Polarity Register PMC_FSPR read-write 0x00000000
0x400E0478 Fault Output Clear Register PMC_FOCR write-only -
0x400E04E4 Write Protect Mode Register PMC_WPMR read-write 0x00000000
0x400E04E8 Write Protect Status Register PMC_WPSR read-only 0x00000000
0x400E0500 Peripheral Clock Enable Register 1 PMC_PCER1 write-only -
0x400E0504 Peripheral Clock Disable Register 1 PMC_PCDR1 write-only -
0x400E0508 Peripheral Clock Status Register 1 PMC_PCSR1 read-only 0x00000000
0x400E0510 Oscillator Calibration Register PMC_OCR read-write 0x00404040

Register Fields

PMC System Clock Enable Register

Name: PMC_SCER

Access: write-only

Address: 0x400E0400

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - PCK2 PCK1 PCK0
7 6 5 4 3 2 1 0
UDP - - - - - - -

PMC System Clock Disable Register

Name: PMC_SCDR

Access: write-only

Address: 0x400E0404

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - PCK2 PCK1 PCK0
7 6 5 4 3 2 1 0
UDP - - - - - - -

PMC System Clock Status Register

Name: PMC_SCSR

Access: read-only

Address: 0x400E0408

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - PCK2 PCK1 PCK0
7 6 5 4 3 2 1 0
UDP - - - - - - -

PMC Peripheral Clock Enable Register 0

Name: PMC_PCER0

Access: write-only

Address: 0x400E0410

31 30 29 28 27 26 25 24
PID31 PID30 PID29 PID28 PID27 PID26 PID25 PID24
23 22 21 20 19 18 17 16
PID23 PID22 PID21 PID20 PID19 PID18 - PID16
15 14 13 12 11 10 9 8
PID15 PID14 PID13 PID12 PID11 PID10 PID9 PID8
7 6 5 4 3 2 1 0
PID7 PID6 PID5 PID4 PID3 PID2 - -

PMC Peripheral Clock Disable Register 0

Name: PMC_PCDR0

Access: write-only

Address: 0x400E0414

31 30 29 28 27 26 25 24
PID31 PID30 PID29 PID28 PID27 PID26 PID25 PID24
23 22 21 20 19 18 17 16
PID23 PID22 PID21 PID20 PID19 PID18 - PID16
15 14 13 12 11 10 9 8
PID15 PID14 PID13 PID12 PID11 PID10 PID9 PID8
7 6 5 4 3 2 1 0
PID7 PID6 PID5 PID4 PID3 PID2 - -

PMC Peripheral Clock Status Register 0

Name: PMC_PCSR0

Access: read-only

Address: 0x400E0418

31 30 29 28 27 26 25 24
PID31 PID30 PID29 PID28 PID27 PID26 PID25 PID24
23 22 21 20 19 18 17 16
PID23 PID22 PID21 PID20 PID19 PID18 - PID16
15 14 13 12 11 10 9 8
PID15 PID14 PID13 PID12 PID11 PID10 PID9 PID8
7 6 5 4 3 2 1 0
PID7 PID6 PID5 PID4 PID3 PID2 - -

PMC Main Oscillator Register

Name: PMC_MOR

Access: read-write

Address: 0x400E0420

31 30 29 28 27 26 25 24
- - - - - - CFDEN MOSCSEL
23 22 21 20 19 18 17 16
KEY
15 14 13 12 11 10 9 8
MOSCXTST
7 6 5 4 3 2 1 0
- MOSCRCF MOSCRCEN - MOSCXTBY MOSCXTEN

PMC Main Clock Frequency Register

Name: PMC_MCFR

Access: read-write

Address: 0x400E0424

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - RCMEAS - - - MAINFRDY
15 14 13 12 11 10 9 8
MAINF
7 6 5 4 3 2 1 0
MAINF

PMC PLLA Register

Name: PMC_PLLAR

Access: read-write

Address: 0x400E0428

31 30 29 28 27 26 25 24
- - ONE - - MULA
23 22 21 20 19 18 17 16
MULA
15 14 13 12 11 10 9 8
- - PLLACOUNT
7 6 5 4 3 2 1 0
DIVA

PMC PLLB Register

Name: PMC_PLLBR

Access: read-write

Address: 0x400E042C

31 30 29 28 27 26 25 24
- - - - - MULB
23 22 21 20 19 18 17 16
MULB
15 14 13 12 11 10 9 8
- - PLLBCOUNT
7 6 5 4 3 2 1 0
DIVB

PMC Master Clock Register

Name: PMC_MCKR

Access: read-write

Address: 0x400E0430

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - PLLBDIV2 PLLADIV2 - - - -
7 6 5 4 3 2 1 0
- PRES - - CSS

PMC USB Clock Register

Name: PMC_USB

Access: read-write

Address: 0x400E0438

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - USBDIV
7 6 5 4 3 2 1 0
- - - - - - - USBS

PMC Programmable Clock 0 Register

Name: PMC_PCK[0:2]

Access: read-write

Address: 0x400E0440

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- PRES - CSS

PMC Interrupt Enable Register

Name: PMC_IER

Access: write-only

Address: 0x400E0460

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - CFDEV MOSCRCS MOSCSELS
15 14 13 12 11 10 9 8
- - - - - PCKRDY2 PCKRDY1 PCKRDY0
7 6 5 4 3 2 1 0
- - - - MCKRDY LOCKB LOCKA MOSCXTS

PMC Interrupt Disable Register

Name: PMC_IDR

Access: write-only

Address: 0x400E0464

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - CFDEV MOSCRCS MOSCSELS
15 14 13 12 11 10 9 8
- - - - - PCKRDY2 PCKRDY1 PCKRDY0
7 6 5 4 3 2 1 0
- - - - MCKRDY LOCKB LOCKA MOSCXTS

PMC Status Register

Name: PMC_SR

Access: read-only

Address: 0x400E0468

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - FOS CFDS CFDEV MOSCRCS MOSCSELS
15 14 13 12 11 10 9 8
- - - - - PCKRDY2 PCKRDY1 PCKRDY0
7 6 5 4 3 2 1 0
OSCSELS - - - MCKRDY LOCKB LOCKA MOSCXTS

PMC Interrupt Mask Register

Name: PMC_IMR

Access: read-only

Address: 0x400E046C

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - CFDEV MOSCRCS MOSCSELS
15 14 13 12 11 10 9 8
- - - - - PCKRDY2 PCKRDY1 PCKRDY0
7 6 5 4 3 2 1 0
- - - - MCKRDY LOCKB LOCKA MOSCXTS

PMC Fast Startup Mode Register

Name: PMC_FSMR

Access: read-write

Address: 0x400E0470

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - LPM - USBAL RTCAL RTTAL
15 14 13 12 11 10 9 8
FSTT15 FSTT14 FSTT13 FSTT12 FSTT11 FSTT10 FSTT9 FSTT8
7 6 5 4 3 2 1 0
FSTT7 FSTT6 FSTT5 FSTT4 FSTT3 FSTT2 FSTT1 FSTT0

PMC Fast Startup Polarity Register

Name: PMC_FSPR

Access: read-write

Address: 0x400E0474

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
FSTP15 FSTP14 FSTP13 FSTP12 FSTP11 FSTP10 FSTP9 FSTP8
7 6 5 4 3 2 1 0
FSTP7 FSTP6 FSTP5 FSTP4 FSTP3 FSTP2 FSTP1 FSTP0

PMC Fault Output Clear Register

Name: PMC_FOCR

Access: write-only

Address: 0x400E0478

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - - - FOCLR

PMC Write Protect Mode Register

Name: PMC_WPMR

Access: read-write

Address: 0x400E04E4

31 30 29 28 27 26 25 24
WPKEY
23 22 21 20 19 18 17 16
WPKEY
15 14 13 12 11 10 9 8
WPKEY
7 6 5 4 3 2 1 0
- - - - - - - WPEN

PMC Write Protect Status Register

Name: PMC_WPSR

Access: read-only

Address: 0x400E04E8

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
WPVSRC
15 14 13 12 11 10 9 8
WPVSRC
7 6 5 4 3 2 1 0
- - - - - - - WPVS

PMC Peripheral Clock Enable Register 1

Name: PMC_PCER1

Access: write-only

Address: 0x400E0500

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - PID34 PID33 PID32

PMC Peripheral Clock Disable Register 1

Name: PMC_PCDR1

Access: write-only

Address: 0x400E0504

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - PID34 PID33 PID32

PMC Peripheral Clock Status Register 1

Name: PMC_PCSR1

Access: read-only

Address: 0x400E0508

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
- - - - - - - -
15 14 13 12 11 10 9 8
- - - - - - - -
7 6 5 4 3 2 1 0
- - - - - PID34 PID33 PID32

PMC Oscillator Calibration Register

Name: PMC_OCR

Access: read-write

Address: 0x400E0510

31 30 29 28 27 26 25 24
- - - - - - - -
23 22 21 20 19 18 17 16
SEL12 CAL12
15 14 13 12 11 10 9 8
SEL8 CAL8
7 6 5 4 3 2 1 0
SEL4 CAL4