| Periph ID AIC | Symbol | Description |
|---|---|---|
| 1 | (AT91C_ID_SYS) | System Peripheral |
| Signal | Symbol | PIO controller | Description |
|---|---|---|---|
| PCK1 | (AT91C_PB17_PCK1 ) | PIOB Periph: A Bit: 17 | |
| PCK1 | (AT91C_PB21_PCK1 ) | PIOB Periph: A Bit: 21 | |
| PCK1 | (AT91C_PC11_PCK1 ) | PIOC Periph: B Bit: 11 | |
| PCK2 | (AT91C_PB18_PCK2 ) | PIOB Periph: A Bit: 18 | |
| PCK2 | (AT91C_PB31_PCK2 ) | PIOB Periph: A Bit: 31 | |
| PCK2 | (AT91C_PC12_PCK2 ) | PIOC Periph: B Bit: 12 | |
| PCK0 | (AT91C_PC10_PCK0 ) | PIOC Periph: B Bit: 10 | |
| PCK0 | (AT91C_PB6_PCK0 ) | PIOB Periph: A Bit: 6 |
| Function | Description |
|---|---|
| AT91F_PMC_CfgPMC | Enable Peripheral clock in PMC for PMC |
| AT91F_PMC_CfgPIO | Configure PIO controllers to drive PMC signals |
| Offset | Field | Description |
|---|---|---|
| 0x0 | PMC_SCER | System Clock Enable Register |
| 0x4 | PMC_SCDR | System Clock Disable Register |
| 0x8 | PMC_SCSR | System Clock Status Register |
| 0x10 | PMC_PCER | Peripheral Clock Enable Register |
| 0x14 | PMC_PCDR | Peripheral Clock Disable Register |
| 0x18 | PMC_PCSR | Peripheral Clock Status Register |
| 0x20 | PMC_MOR (CKGR_MOR) | Main Oscillator Register |
| 0x24 | PMC_MCFR (CKGR_MCFR) | Main Clock Frequency Register |
| 0x2C | PMC_PLLR (CKGR_PLLR) | PLL Register |
| 0x30 | PMC_MCKR | Master Clock Register |
| 0x40 | PMC_PCKR[4] (PMC_PCKR) | Programmable Clock Register |
| 0x60 | PMC_IER | Interrupt Enable Register |
| 0x64 | PMC_IDR | Interrupt Disable Register |
| 0x68 | PMC_SR | Status Register |
| 0x6C | PMC_IMR | Interrupt Mask Register |
| Function | Description |
|---|---|
| AT91F_PMC_GetInterruptMaskStatus | Return PMC Interrupt Mask Status |
| AT91F_CKGR_GetPLLReg | Get the PLL Register |
| AT91F_CKGR_DisableMainOscillator | Disable the main oscillator |
| AT91F_CKGR_GetMainOscillatorReg | Cfg the main oscillator |
| AT91F_PMC_CfgSysClkEnableReg | Configure the System Clock Enable Register of the PMC controller |
| AT91F_PMC_EnablePeriphClock | Enable peripheral clock |
| AT91F_CKGR_GetMainClock | Return Main clock in Hz |
| AT91F_PMC_CfgSysClkDisableReg | Configure the System Clock Disable Register of the PMC controller |
| AT91F_PMC_DisablePeriphClock | Disable peripheral clock |
| AT91F_CKGR_CfgPLLReg | Cfg the PLL Register |
| AT91F_PMC_IsInterruptMasked | Test if PMC Interrupt is Masked |
| AT91F_PMC_EnableIt | Enable PMC interrupt |
| AT91F_PMC_DisablePCK | Disable Programmable Clock x Output |
| AT91F_PMC_GetSysClkStatusReg | Return the System Clock Status Register of the PMC controller |
| AT91F_PMC_GetPeriphClock | Get peripheral clock status |
| AT91F_PMC_EnablePCK | Enable Programmable Clock x Output |
| AT91F_CKGR_EnableMainOscillator | Enable the main oscillator |
| AT91F_CKGR_GetMainClockFreqReg | Cfg the main oscillator |
| AT91F_PMC_GetMCKReg | Return Master Clock Register |
| AT91F_PMC_GetMasterClock | Return master clock in Hz which correponds to processor clock for ARM7 |
| AT91F_PMC_IsStatusSet | Test if PMC Status is Set |
| AT91F_PMC_DisableIt | Disable PMC interrupt |
| AT91F_CKGR_CfgMainOscStartUpTime | Cfg MOR Register according to the main osc startup time |
| AT91F_PMC_GetStatus | Return PMC Interrupt Status |
| AT91F_CKGR_CfgMainOscillatorReg | Cfg the main oscillator |
| AT91F_PMC_CfgMCKReg | Cfg Master Clock Register |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_PCK AT91C_PMC_PCK | Processor Clock 0 = The processor clock is disabled 1 = The processor clock is enabled |
| 7 | PMC_UDP AT91C_PMC_UDP | USB Device Port Clock 0 = The 48 MHz clock of the USB Device Port is disabled 1 = The 48 MHz clock of the USB Device Port is enabled |
| 8 | PMC_PCK0 AT91C_PMC_PCK0 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 9 | PMC_PCK1 AT91C_PMC_PCK1 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 10 | PMC_PCK2 AT91C_PMC_PCK2 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 11 | PMC_PCK3 AT91C_PMC_PCK3 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_PCK AT91C_PMC_PCK | Processor Clock 0 = The processor clock is disabled 1 = The processor clock is enabled |
| 7 | PMC_UDP AT91C_PMC_UDP | USB Device Port Clock 0 = The 48 MHz clock of the USB Device Port is disabled 1 = The 48 MHz clock of the USB Device Port is enabled |
| 8 | PMC_PCK0 AT91C_PMC_PCK0 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 9 | PMC_PCK1 AT91C_PMC_PCK1 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 10 | PMC_PCK2 AT91C_PMC_PCK2 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 11 | PMC_PCK3 AT91C_PMC_PCK3 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_PCK AT91C_PMC_PCK | Processor Clock 0 = The processor clock is disabled 1 = The processor clock is enabled |
| 7 | PMC_UDP AT91C_PMC_UDP | USB Device Port Clock 0 = The 48 MHz clock of the USB Device Port is disabled 1 = The 48 MHz clock of the USB Device Port is enabled |
| 8 | PMC_PCK0 AT91C_PMC_PCK0 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 9 | PMC_PCK1 AT91C_PMC_PCK1 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 10 | PMC_PCK2 AT91C_PMC_PCK2 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 11 | PMC_PCK3 AT91C_PMC_PCK3 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| Offset | Name | Description |
|---|---|---|
| 0 | CKGR_MOSCEN AT91C_CKGR_MOSCEN | Main Oscillator Enable 0 = The main oscillator is disabled. 1 = The main oscillator is enabled. |
| 1 | CKGR_OSCBYPASS AT91C_CKGR_OSCBYPASS | Main Oscillator Bypass 0 = The main oscillator is not bypassed. 1 = The main oscillator is bypassed. MOSCEN bit must be set to 0. |
| 15..8 | CKGR_OSCOUNT AT91C_CKGR_OSCOUNT | Main Oscillator Start-up Time Specifies the number of slow clock cycles multiplied by 8 for the main oscillator start-up time. |
| Offset | Name | Description |
|---|---|---|
| 15..0 | CKGR_MAINF AT91C_CKGR_MAINF | Main Clock Frequency Gives the number of main clock cycles within 16 slow clock periods. |
| 16 | CKGR_MAINRDY AT91C_CKGR_MAINRDY | Main Clock Ready 0 = FMAIN value is not valid or the main oscillator is disabled. 1 = The main oscillator has been enabled previously and MAINF value is available. |
| Offset | Name | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 7..0 | CKGR_DIV AT91C_CKGR_DIV | Divider Selected 2-255 Divider output is the selected clock divided by DIV
| |||||||||||||||
| 13..8 | CKGR_PLLCOUNT AT91C_CKGR_PLLCOUNT | PLL Counter Specifies the number of slow clock cycles before the LOCK bit is set in PMC_SR after PMC_PLL is written. | |||||||||||||||
| 15..14 | CKGR_OUT AT91C_CKGR_OUT | PLL Output Frequency Range
| |||||||||||||||
| 26..16 | CKGR_MUL AT91C_CKGR_MUL | PLL Multiplier 0 = The PLL is deactivated. 1 up to 2047 = The PLL output frequency is the PLL input frequency multiplied by MUL + 1. | |||||||||||||||
| 29..28 | CKGR_USBDIV AT91C_CKGR_USBDIV | Divider for USB Clocks
|
| Offset | Name | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1..0 | PMC_CSS AT91C_PMC_CSS | Programmable Clock Selection Clock selection
| ||||||||||||||||||||||||
| 4..2 | PMC_PRES AT91C_PMC_PRES | Programmable Clock Prescaler Master clock
|
| Offset | Name | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1..0 | PMC_CSS AT91C_PMC_CSS | Programmable Clock Selection Clock selection
| ||||||||||||||||||||||||
| 4..2 | PMC_PRES AT91C_PMC_PRES | Programmable Clock Prescaler Master clock
|
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_MOSCS AT91C_PMC_MOSCS | MOSC Status/Enable/Disable/Mask 0 = Main oscillator is not stabilized. 1 = Main oscillator is stabilized. |
| 2 | PMC_LOCK AT91C_PMC_LOCK | PLL Status/Enable/Disable/Mask 0 = PLL is not locked. 1 = PLL is locked. |
| 3 | PMC_MCKRDY AT91C_PMC_MCKRDY | MCK_RDY Status/Enable/Disable/Mask 0 = MCK Clock is not ready to be turned on. 1 = MCK Clock is ready to be turned on. |
| 8 | PMC_PCK0RDY AT91C_PMC_PCK0RDY | PCK0_RDY Status/Enable/Disable/Mask 0 = Pad Clock0 is not ready to be turned on. 1 = Pad Clock0 is ready to be turned on. |
| 9 | PMC_PCK1RDY AT91C_PMC_PCK1RDY | PCK1_RDY Status/Enable/Disable/Mask 0 = Pad Clock1 is not ready to be turned on. 1 = Pad Clock1 is ready to be turned on. |
| 10 | PMC_PCK2RDY AT91C_PMC_PCK2RDY | PCK2_RDY Status/Enable/Disable/Mask 0 = Pad Clock2 is not ready to be turned on. 1 = Pad Clock2 is ready to be turned on. |
| 11 | PMC_PCK3RDY AT91C_PMC_PCK3RDY | PCK3_RDY Status/Enable/Disable/Mask 0 = Pad Clock3 is not ready to be turned on. 1 = Pad Clock3 is ready to be turned on. |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_MOSCS AT91C_PMC_MOSCS | MOSC Status/Enable/Disable/Mask 0 = Main oscillator is not stabilized. 1 = Main oscillator is stabilized. |
| 2 | PMC_LOCK AT91C_PMC_LOCK | PLL Status/Enable/Disable/Mask 0 = PLL is not locked. 1 = PLL is locked. |
| 3 | PMC_MCKRDY AT91C_PMC_MCKRDY | MCK_RDY Status/Enable/Disable/Mask 0 = MCK Clock is not ready to be turned on. 1 = MCK Clock is ready to be turned on. |
| 8 | PMC_PCK0RDY AT91C_PMC_PCK0RDY | PCK0_RDY Status/Enable/Disable/Mask 0 = Pad Clock0 is not ready to be turned on. 1 = Pad Clock0 is ready to be turned on. |
| 9 | PMC_PCK1RDY AT91C_PMC_PCK1RDY | PCK1_RDY Status/Enable/Disable/Mask 0 = Pad Clock1 is not ready to be turned on. 1 = Pad Clock1 is ready to be turned on. |
| 10 | PMC_PCK2RDY AT91C_PMC_PCK2RDY | PCK2_RDY Status/Enable/Disable/Mask 0 = Pad Clock2 is not ready to be turned on. 1 = Pad Clock2 is ready to be turned on. |
| 11 | PMC_PCK3RDY AT91C_PMC_PCK3RDY | PCK3_RDY Status/Enable/Disable/Mask 0 = Pad Clock3 is not ready to be turned on. 1 = Pad Clock3 is ready to be turned on. |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_MOSCS AT91C_PMC_MOSCS | MOSC Status/Enable/Disable/Mask 0 = Main oscillator is not stabilized. 1 = Main oscillator is stabilized. |
| 2 | PMC_LOCK AT91C_PMC_LOCK | PLL Status/Enable/Disable/Mask 0 = PLL is not locked. 1 = PLL is locked. |
| 3 | PMC_MCKRDY AT91C_PMC_MCKRDY | MCK_RDY Status/Enable/Disable/Mask 0 = MCK Clock is not ready to be turned on. 1 = MCK Clock is ready to be turned on. |
| 8 | PMC_PCK0RDY AT91C_PMC_PCK0RDY | PCK0_RDY Status/Enable/Disable/Mask 0 = Pad Clock0 is not ready to be turned on. 1 = Pad Clock0 is ready to be turned on. |
| 9 | PMC_PCK1RDY AT91C_PMC_PCK1RDY | PCK1_RDY Status/Enable/Disable/Mask 0 = Pad Clock1 is not ready to be turned on. 1 = Pad Clock1 is ready to be turned on. |
| 10 | PMC_PCK2RDY AT91C_PMC_PCK2RDY | PCK2_RDY Status/Enable/Disable/Mask 0 = Pad Clock2 is not ready to be turned on. 1 = Pad Clock2 is ready to be turned on. |
| 11 | PMC_PCK3RDY AT91C_PMC_PCK3RDY | PCK3_RDY Status/Enable/Disable/Mask 0 = Pad Clock3 is not ready to be turned on. 1 = Pad Clock3 is ready to be turned on. |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_MOSCS AT91C_PMC_MOSCS | MOSC Status/Enable/Disable/Mask 0 = Main oscillator is not stabilized. 1 = Main oscillator is stabilized. |
| 2 | PMC_LOCK AT91C_PMC_LOCK | PLL Status/Enable/Disable/Mask 0 = PLL is not locked. 1 = PLL is locked. |
| 3 | PMC_MCKRDY AT91C_PMC_MCKRDY | MCK_RDY Status/Enable/Disable/Mask 0 = MCK Clock is not ready to be turned on. 1 = MCK Clock is ready to be turned on. |
| 8 | PMC_PCK0RDY AT91C_PMC_PCK0RDY | PCK0_RDY Status/Enable/Disable/Mask 0 = Pad Clock0 is not ready to be turned on. 1 = Pad Clock0 is ready to be turned on. |
| 9 | PMC_PCK1RDY AT91C_PMC_PCK1RDY | PCK1_RDY Status/Enable/Disable/Mask 0 = Pad Clock1 is not ready to be turned on. 1 = Pad Clock1 is ready to be turned on. |
| 10 | PMC_PCK2RDY AT91C_PMC_PCK2RDY | PCK2_RDY Status/Enable/Disable/Mask 0 = Pad Clock2 is not ready to be turned on. 1 = Pad Clock2 is ready to be turned on. |
| 11 | PMC_PCK3RDY AT91C_PMC_PCK3RDY | PCK3_RDY Status/Enable/Disable/Mask 0 = Pad Clock3 is not ready to be turned on. 1 = Pad Clock3 is ready to be turned on. |