| Periph ID AIC | Symbol | Description |
|---|---|---|
| 1 | (AT91C_ID_SYS) | System Peripheral |
| Signal | Symbol | PIO controller | Description |
|---|---|---|---|
| PCK1 | (AT91C_PA24_PCK1 ) | PIOA Periph: B Bit: 24 | PMC Programmable Clock Output 1 |
| PCK0 | (AT91C_PB27_PCK0 ) | PIOB Periph: A Bit: 27 | PMC Programmable Clock Output 0 |
| 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 |
| 0x30 | PMC_MCKR | Master Clock Register |
| 0x40 | PMC_PCKR[8] (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_CKGR_GetMainClock | Return Main clock in Hz |
| AT91F_PMC_GetProcessorClock | Return processor clock in Hz (for AT91RM3400 and AT91RM9200) |
| AT91F_PMC_DisablePeriphClock | Enable peripheral clock |
| AT91F_PMC_EnablePCK | Enable peripheral clock |
| AT91F_PMC_DisablePCK | Enable peripheral clock |
| AT91F_PMC_EnablePeriphClock | Enable peripheral clock |
| AT91F_PMC_GetMasterClock | Return master clock in Hz (just for AT91RM9200) |
| Offset | Name | Description |
|---|---|---|
| 0 | PMC_PCK AT91C_PMC_PCK | Processor Clock 0 = The processor clock is disabled 1 = The processor clock is enabled |
| 1 | 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 |
| 2 | PMC_MCKUDP AT91C_PMC_MCKUDP | USB Device Port Master Clock Automatic Disable on Suspend 0 = The automatic disable of the master clock of the USB Device Port when suspend condition occurs is disabled. 1 = The automatic disable of the master clock of the USB Device Port when suspend condition occurs is enabled. |
| 4 | PMC_UHP AT91C_PMC_UHP | USB Host 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. |
| 12 | PMC_PCK4 AT91C_PMC_PCK4 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 13 | PMC_PCK5 AT91C_PMC_PCK5 | Programmable Clock Output 0 = No effect. 1 = Enables the corresponding programmable clock output. |
| 14 | PMC_PCK6 AT91C_PMC_PCK6 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 15 | PMC_PCK7 AT91C_PMC_PCK7 | 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 |
| 1 | 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 |
| 2 | PMC_MCKUDP AT91C_PMC_MCKUDP | USB Device Port Master Clock Automatic Disable on Suspend 0 = The automatic disable of the master clock of the USB Device Port when suspend condition occurs is disabled. 1 = The automatic disable of the master clock of the USB Device Port when suspend condition occurs is enabled. |
| 4 | PMC_UHP AT91C_PMC_UHP | USB Host 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. |
| 12 | PMC_PCK4 AT91C_PMC_PCK4 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 13 | PMC_PCK5 AT91C_PMC_PCK5 | Programmable Clock Output 0 = No effect. 1 = Enables the corresponding programmable clock output. |
| 14 | PMC_PCK6 AT91C_PMC_PCK6 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 15 | PMC_PCK7 AT91C_PMC_PCK7 | 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 |
| 1 | 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 |
| 2 | PMC_MCKUDP AT91C_PMC_MCKUDP | USB Device Port Master Clock Automatic Disable on Suspend 0 = The automatic disable of the master clock of the USB Device Port when suspend condition occurs is disabled. 1 = The automatic disable of the master clock of the USB Device Port when suspend condition occurs is enabled. |
| 4 | PMC_UHP AT91C_PMC_UHP | USB Host 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. |
| 12 | PMC_PCK4 AT91C_PMC_PCK4 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 13 | PMC_PCK5 AT91C_PMC_PCK5 | Programmable Clock Output 0 = No effect. 1 = Enables the corresponding programmable clock output. |
| 14 | PMC_PCK6 AT91C_PMC_PCK6 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 15 | PMC_PCK7 AT91C_PMC_PCK7 | Programmable Clock Output 0 = The corresponding programmable clock output is disabled. 1 = The corresponding programmable clock output is enabled. |
| 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
| ||||||||||||||||||||||||
| 9..8 | PMC_MDIV AT91C_PMC_MDIV | Master Clock Division
|
| 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. |
| 1 | PMC_LOCKA AT91C_PMC_LOCKA | PLL A Status/Enable/Disable/Mask 0 = PLL A is not locked. 1 = PLL A is locked. |
| 2 | PMC_LOCKB AT91C_PMC_LOCKB | PLL B Status/Enable/Disable/Mask 0 = PLL B is not locked. 1 = PLL B 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. |
| 12 | PMC_PCK4RDY AT91C_PMC_PCK4RDY | PCK4_RDY Status/Enable/Disable/Mask 0 = Pad Clock4 is not ready to be turned on. 1 = Pad Clock4 is ready to be turned on. |
| 13 | PMC_PCK5RDY AT91C_PMC_PCK5RDY | PCK5_RDY Status/Enable/Disable/Mask 0 = Pad Clock5 is not ready to be turned on. 1 = Pad Clock5 is ready to be turned on. |
| 14 | PMC_PCK6RDY AT91C_PMC_PCK6RDY | PCK6_RDY Status/Enable/Disable/Mask 0 = Pad Clock6 is not ready to be turned on. 1 = Pad Clock6 is ready to be turned on. |
| 15 | PMC_PCK7RDY AT91C_PMC_PCK7RDY | PCK7_RDY Status/Enable/Disable/Mask 0 = Pad Clock7 is not ready to be turned on. 1 = Pad Clock7 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. |
| 1 | PMC_LOCKA AT91C_PMC_LOCKA | PLL A Status/Enable/Disable/Mask 0 = PLL A is not locked. 1 = PLL A is locked. |
| 2 | PMC_LOCKB AT91C_PMC_LOCKB | PLL B Status/Enable/Disable/Mask 0 = PLL B is not locked. 1 = PLL B 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. |
| 12 | PMC_PCK4RDY AT91C_PMC_PCK4RDY | PCK4_RDY Status/Enable/Disable/Mask 0 = Pad Clock4 is not ready to be turned on. 1 = Pad Clock4 is ready to be turned on. |
| 13 | PMC_PCK5RDY AT91C_PMC_PCK5RDY | PCK5_RDY Status/Enable/Disable/Mask 0 = Pad Clock5 is not ready to be turned on. 1 = Pad Clock5 is ready to be turned on. |
| 14 | PMC_PCK6RDY AT91C_PMC_PCK6RDY | PCK6_RDY Status/Enable/Disable/Mask 0 = Pad Clock6 is not ready to be turned on. 1 = Pad Clock6 is ready to be turned on. |
| 15 | PMC_PCK7RDY AT91C_PMC_PCK7RDY | PCK7_RDY Status/Enable/Disable/Mask 0 = Pad Clock7 is not ready to be turned on. 1 = Pad Clock7 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. |
| 1 | PMC_LOCKA AT91C_PMC_LOCKA | PLL A Status/Enable/Disable/Mask 0 = PLL A is not locked. 1 = PLL A is locked. |
| 2 | PMC_LOCKB AT91C_PMC_LOCKB | PLL B Status/Enable/Disable/Mask 0 = PLL B is not locked. 1 = PLL B 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. |
| 12 | PMC_PCK4RDY AT91C_PMC_PCK4RDY | PCK4_RDY Status/Enable/Disable/Mask 0 = Pad Clock4 is not ready to be turned on. 1 = Pad Clock4 is ready to be turned on. |
| 13 | PMC_PCK5RDY AT91C_PMC_PCK5RDY | PCK5_RDY Status/Enable/Disable/Mask 0 = Pad Clock5 is not ready to be turned on. 1 = Pad Clock5 is ready to be turned on. |
| 14 | PMC_PCK6RDY AT91C_PMC_PCK6RDY | PCK6_RDY Status/Enable/Disable/Mask 0 = Pad Clock6 is not ready to be turned on. 1 = Pad Clock6 is ready to be turned on. |
| 15 | PMC_PCK7RDY AT91C_PMC_PCK7RDY | PCK7_RDY Status/Enable/Disable/Mask 0 = Pad Clock7 is not ready to be turned on. 1 = Pad Clock7 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. |
| 1 | PMC_LOCKA AT91C_PMC_LOCKA | PLL A Status/Enable/Disable/Mask 0 = PLL A is not locked. 1 = PLL A is locked. |
| 2 | PMC_LOCKB AT91C_PMC_LOCKB | PLL B Status/Enable/Disable/Mask 0 = PLL B is not locked. 1 = PLL B 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. |
| 12 | PMC_PCK4RDY AT91C_PMC_PCK4RDY | PCK4_RDY Status/Enable/Disable/Mask 0 = Pad Clock4 is not ready to be turned on. 1 = Pad Clock4 is ready to be turned on. |
| 13 | PMC_PCK5RDY AT91C_PMC_PCK5RDY | PCK5_RDY Status/Enable/Disable/Mask 0 = Pad Clock5 is not ready to be turned on. 1 = Pad Clock5 is ready to be turned on. |
| 14 | PMC_PCK6RDY AT91C_PMC_PCK6RDY | PCK6_RDY Status/Enable/Disable/Mask 0 = Pad Clock6 is not ready to be turned on. 1 = Pad Clock6 is ready to be turned on. |
| 15 | PMC_PCK7RDY AT91C_PMC_PCK7RDY | PCK7_RDY Status/Enable/Disable/Mask 0 = Pad Clock7 is not ready to be turned on. 1 = Pad Clock7 is ready to be turned on. |