|
#define | PMC_SCER_UDP (0x1u << 7) |
| (PMC_SCER) USB Device Port Clock Enable
|
|
#define | PMC_SCER_PCK0 (0x1u << 8) |
| (PMC_SCER) Programmable Clock 0 Output Enable
|
|
#define | PMC_SCER_PCK1 (0x1u << 9) |
| (PMC_SCER) Programmable Clock 1 Output Enable
|
|
#define | PMC_SCER_PCK2 (0x1u << 10) |
| (PMC_SCER) Programmable Clock 2 Output Enable
|
|
#define | PMC_SCDR_UDP (0x1u << 7) |
| (PMC_SCDR) USB Device Port Clock Disable
|
|
#define | PMC_SCDR_PCK0 (0x1u << 8) |
| (PMC_SCDR) Programmable Clock 0 Output Disable
|
|
#define | PMC_SCDR_PCK1 (0x1u << 9) |
| (PMC_SCDR) Programmable Clock 1 Output Disable
|
|
#define | PMC_SCDR_PCK2 (0x1u << 10) |
| (PMC_SCDR) Programmable Clock 2 Output Disable
|
|
#define | PMC_SCSR_UDP (0x1u << 7) |
| (PMC_SCSR) USB Device Port Clock Status
|
|
#define | PMC_SCSR_PCK0 (0x1u << 8) |
| (PMC_SCSR) Programmable Clock 0 Output Status
|
|
#define | PMC_SCSR_PCK1 (0x1u << 9) |
| (PMC_SCSR) Programmable Clock 1 Output Status
|
|
#define | PMC_SCSR_PCK2 (0x1u << 10) |
| (PMC_SCSR) Programmable Clock 2 Output Status
|
|
#define | PMC_PCER0_PID2 (0x1u << 2) |
| (PMC_PCER0) Peripheral Clock 2 Enable
|
|
#define | PMC_PCER0_PID3 (0x1u << 3) |
| (PMC_PCER0) Peripheral Clock 3 Enable
|
|
#define | PMC_PCER0_PID4 (0x1u << 4) |
| (PMC_PCER0) Peripheral Clock 4 Enable
|
|
#define | PMC_PCER0_PID5 (0x1u << 5) |
| (PMC_PCER0) Peripheral Clock 5 Enable
|
|
#define | PMC_PCER0_PID6 (0x1u << 6) |
| (PMC_PCER0) Peripheral Clock 6 Enable
|
|
#define | PMC_PCER0_PID7 (0x1u << 7) |
| (PMC_PCER0) Peripheral Clock 7 Enable
|
|
#define | PMC_PCER0_PID8 (0x1u << 8) |
| (PMC_PCER0) Peripheral Clock 8 Enable
|
|
#define | PMC_PCER0_PID9 (0x1u << 9) |
| (PMC_PCER0) Peripheral Clock 9 Enable
|
|
#define | PMC_PCER0_PID10 (0x1u << 10) |
| (PMC_PCER0) Peripheral Clock 10 Enable
|
|
#define | PMC_PCER0_PID11 (0x1u << 11) |
| (PMC_PCER0) Peripheral Clock 11 Enable
|
|
#define | PMC_PCER0_PID12 (0x1u << 12) |
| (PMC_PCER0) Peripheral Clock 12 Enable
|
|
#define | PMC_PCER0_PID13 (0x1u << 13) |
| (PMC_PCER0) Peripheral Clock 13 Enable
|
|
#define | PMC_PCER0_PID14 (0x1u << 14) |
| (PMC_PCER0) Peripheral Clock 14 Enable
|
|
#define | PMC_PCER0_PID15 (0x1u << 15) |
| (PMC_PCER0) Peripheral Clock 15 Enable
|
|
#define | PMC_PCER0_PID16 (0x1u << 16) |
| (PMC_PCER0) Peripheral Clock 16 Enable
|
|
#define | PMC_PCER0_PID17 (0x1u << 17) |
| (PMC_PCER0) Peripheral Clock 17 Enable
|
|
#define | PMC_PCER0_PID18 (0x1u << 18) |
| (PMC_PCER0) Peripheral Clock 18 Enable
|
|
#define | PMC_PCER0_PID19 (0x1u << 19) |
| (PMC_PCER0) Peripheral Clock 19 Enable
|
|
#define | PMC_PCER0_PID20 (0x1u << 20) |
| (PMC_PCER0) Peripheral Clock 20 Enable
|
|
#define | PMC_PCER0_PID21 (0x1u << 21) |
| (PMC_PCER0) Peripheral Clock 21 Enable
|
|
#define | PMC_PCER0_PID22 (0x1u << 22) |
| (PMC_PCER0) Peripheral Clock 22 Enable
|
|
#define | PMC_PCER0_PID23 (0x1u << 23) |
| (PMC_PCER0) Peripheral Clock 23 Enable
|
|
#define | PMC_PCER0_PID24 (0x1u << 24) |
| (PMC_PCER0) Peripheral Clock 24 Enable
|
|
#define | PMC_PCER0_PID25 (0x1u << 25) |
| (PMC_PCER0) Peripheral Clock 25 Enable
|
|
#define | PMC_PCER0_PID26 (0x1u << 26) |
| (PMC_PCER0) Peripheral Clock 26 Enable
|
|
#define | PMC_PCER0_PID27 (0x1u << 27) |
| (PMC_PCER0) Peripheral Clock 27 Enable
|
|
#define | PMC_PCER0_PID28 (0x1u << 28) |
| (PMC_PCER0) Peripheral Clock 28 Enable
|
|
#define | PMC_PCER0_PID29 (0x1u << 29) |
| (PMC_PCER0) Peripheral Clock 29 Enable
|
|
#define | PMC_PCER0_PID30 (0x1u << 30) |
| (PMC_PCER0) Peripheral Clock 30 Enable
|
|
#define | PMC_PCER0_PID31 (0x1u << 31) |
| (PMC_PCER0) Peripheral Clock 31 Enable
|
|
#define | PMC_PCDR0_PID2 (0x1u << 2) |
| (PMC_PCDR0) Peripheral Clock 2 Disable
|
|
#define | PMC_PCDR0_PID3 (0x1u << 3) |
| (PMC_PCDR0) Peripheral Clock 3 Disable
|
|
#define | PMC_PCDR0_PID4 (0x1u << 4) |
| (PMC_PCDR0) Peripheral Clock 4 Disable
|
|
#define | PMC_PCDR0_PID5 (0x1u << 5) |
| (PMC_PCDR0) Peripheral Clock 5 Disable
|
|
#define | PMC_PCDR0_PID6 (0x1u << 6) |
| (PMC_PCDR0) Peripheral Clock 6 Disable
|
|
#define | PMC_PCDR0_PID7 (0x1u << 7) |
| (PMC_PCDR0) Peripheral Clock 7 Disable
|
|
#define | PMC_PCDR0_PID8 (0x1u << 8) |
| (PMC_PCDR0) Peripheral Clock 8 Disable
|
|
#define | PMC_PCDR0_PID9 (0x1u << 9) |
| (PMC_PCDR0) Peripheral Clock 9 Disable
|
|
#define | PMC_PCDR0_PID10 (0x1u << 10) |
| (PMC_PCDR0) Peripheral Clock 10 Disable
|
|
#define | PMC_PCDR0_PID11 (0x1u << 11) |
| (PMC_PCDR0) Peripheral Clock 11 Disable
|
|
#define | PMC_PCDR0_PID12 (0x1u << 12) |
| (PMC_PCDR0) Peripheral Clock 12 Disable
|
|
#define | PMC_PCDR0_PID13 (0x1u << 13) |
| (PMC_PCDR0) Peripheral Clock 13 Disable
|
|
#define | PMC_PCDR0_PID14 (0x1u << 14) |
| (PMC_PCDR0) Peripheral Clock 14 Disable
|
|
#define | PMC_PCDR0_PID15 (0x1u << 15) |
| (PMC_PCDR0) Peripheral Clock 15 Disable
|
|
#define | PMC_PCDR0_PID16 (0x1u << 16) |
| (PMC_PCDR0) Peripheral Clock 16 Disable
|
|
#define | PMC_PCDR0_PID17 (0x1u << 17) |
| (PMC_PCDR0) Peripheral Clock 17 Disable
|
|
#define | PMC_PCDR0_PID18 (0x1u << 18) |
| (PMC_PCDR0) Peripheral Clock 18 Disable
|
|
#define | PMC_PCDR0_PID19 (0x1u << 19) |
| (PMC_PCDR0) Peripheral Clock 19 Disable
|
|
#define | PMC_PCDR0_PID20 (0x1u << 20) |
| (PMC_PCDR0) Peripheral Clock 20 Disable
|
|
#define | PMC_PCDR0_PID21 (0x1u << 21) |
| (PMC_PCDR0) Peripheral Clock 21 Disable
|
|
#define | PMC_PCDR0_PID22 (0x1u << 22) |
| (PMC_PCDR0) Peripheral Clock 22 Disable
|
|
#define | PMC_PCDR0_PID23 (0x1u << 23) |
| (PMC_PCDR0) Peripheral Clock 23 Disable
|
|
#define | PMC_PCDR0_PID24 (0x1u << 24) |
| (PMC_PCDR0) Peripheral Clock 24 Disable
|
|
#define | PMC_PCDR0_PID25 (0x1u << 25) |
| (PMC_PCDR0) Peripheral Clock 25 Disable
|
|
#define | PMC_PCDR0_PID26 (0x1u << 26) |
| (PMC_PCDR0) Peripheral Clock 26 Disable
|
|
#define | PMC_PCDR0_PID27 (0x1u << 27) |
| (PMC_PCDR0) Peripheral Clock 27 Disable
|
|
#define | PMC_PCDR0_PID28 (0x1u << 28) |
| (PMC_PCDR0) Peripheral Clock 28 Disable
|
|
#define | PMC_PCDR0_PID29 (0x1u << 29) |
| (PMC_PCDR0) Peripheral Clock 29 Disable
|
|
#define | PMC_PCDR0_PID30 (0x1u << 30) |
| (PMC_PCDR0) Peripheral Clock 30 Disable
|
|
#define | PMC_PCDR0_PID31 (0x1u << 31) |
| (PMC_PCDR0) Peripheral Clock 31 Disable
|
|
#define | PMC_PCSR0_PID2 (0x1u << 2) |
| (PMC_PCSR0) Peripheral Clock 2 Status
|
|
#define | PMC_PCSR0_PID3 (0x1u << 3) |
| (PMC_PCSR0) Peripheral Clock 3 Status
|
|
#define | PMC_PCSR0_PID4 (0x1u << 4) |
| (PMC_PCSR0) Peripheral Clock 4 Status
|
|
#define | PMC_PCSR0_PID5 (0x1u << 5) |
| (PMC_PCSR0) Peripheral Clock 5 Status
|
|
#define | PMC_PCSR0_PID6 (0x1u << 6) |
| (PMC_PCSR0) Peripheral Clock 6 Status
|
|
#define | PMC_PCSR0_PID7 (0x1u << 7) |
| (PMC_PCSR0) Peripheral Clock 7 Status
|
|
#define | PMC_PCSR0_PID8 (0x1u << 8) |
| (PMC_PCSR0) Peripheral Clock 8 Status
|
|
#define | PMC_PCSR0_PID9 (0x1u << 9) |
| (PMC_PCSR0) Peripheral Clock 9 Status
|
|
#define | PMC_PCSR0_PID10 (0x1u << 10) |
| (PMC_PCSR0) Peripheral Clock 10 Status
|
|
#define | PMC_PCSR0_PID11 (0x1u << 11) |
| (PMC_PCSR0) Peripheral Clock 11 Status
|
|
#define | PMC_PCSR0_PID12 (0x1u << 12) |
| (PMC_PCSR0) Peripheral Clock 12 Status
|
|
#define | PMC_PCSR0_PID13 (0x1u << 13) |
| (PMC_PCSR0) Peripheral Clock 13 Status
|
|
#define | PMC_PCSR0_PID14 (0x1u << 14) |
| (PMC_PCSR0) Peripheral Clock 14 Status
|
|
#define | PMC_PCSR0_PID15 (0x1u << 15) |
| (PMC_PCSR0) Peripheral Clock 15 Status
|
|
#define | PMC_PCSR0_PID16 (0x1u << 16) |
| (PMC_PCSR0) Peripheral Clock 16 Status
|
|
#define | PMC_PCSR0_PID17 (0x1u << 17) |
| (PMC_PCSR0) Peripheral Clock 17 Status
|
|
#define | PMC_PCSR0_PID18 (0x1u << 18) |
| (PMC_PCSR0) Peripheral Clock 18 Status
|
|
#define | PMC_PCSR0_PID19 (0x1u << 19) |
| (PMC_PCSR0) Peripheral Clock 19 Status
|
|
#define | PMC_PCSR0_PID20 (0x1u << 20) |
| (PMC_PCSR0) Peripheral Clock 20 Status
|
|
#define | PMC_PCSR0_PID21 (0x1u << 21) |
| (PMC_PCSR0) Peripheral Clock 21 Status
|
|
#define | PMC_PCSR0_PID22 (0x1u << 22) |
| (PMC_PCSR0) Peripheral Clock 22 Status
|
|
#define | PMC_PCSR0_PID23 (0x1u << 23) |
| (PMC_PCSR0) Peripheral Clock 23 Status
|
|
#define | PMC_PCSR0_PID24 (0x1u << 24) |
| (PMC_PCSR0) Peripheral Clock 24 Status
|
|
#define | PMC_PCSR0_PID25 (0x1u << 25) |
| (PMC_PCSR0) Peripheral Clock 25 Status
|
|
#define | PMC_PCSR0_PID26 (0x1u << 26) |
| (PMC_PCSR0) Peripheral Clock 26 Status
|
|
#define | PMC_PCSR0_PID27 (0x1u << 27) |
| (PMC_PCSR0) Peripheral Clock 27 Status
|
|
#define | PMC_PCSR0_PID28 (0x1u << 28) |
| (PMC_PCSR0) Peripheral Clock 28 Status
|
|
#define | PMC_PCSR0_PID29 (0x1u << 29) |
| (PMC_PCSR0) Peripheral Clock 29 Status
|
|
#define | PMC_PCSR0_PID30 (0x1u << 30) |
| (PMC_PCSR0) Peripheral Clock 30 Status
|
|
#define | PMC_PCSR0_PID31 (0x1u << 31) |
| (PMC_PCSR0) Peripheral Clock 31 Status
|
|
#define | CKGR_MOR_MOSCXTEN (0x1u << 0) |
| (CKGR_MOR) Main Crystal Oscillator Enable
|
|
#define | CKGR_MOR_MOSCXTBY (0x1u << 1) |
| (CKGR_MOR) Main Crystal Oscillator Bypass
|
|
#define | CKGR_MOR_WAITMODE (0x1u << 2) |
| (CKGR_MOR) Wait Mode Command
|
|
#define | CKGR_MOR_MOSCRCEN (0x1u << 3) |
| (CKGR_MOR) Main On-Chip RC Oscillator Enable
|
|
#define | CKGR_MOR_MOSCRCF_Pos 4 |
|
#define | CKGR_MOR_MOSCRCF_Msk (0x7u << CKGR_MOR_MOSCRCF_Pos) |
| (CKGR_MOR) Main On-Chip RC Oscillator Frequency Selection
|
|
#define | CKGR_MOR_MOSCRCF_4_MHz (0x0u << 4) |
| (CKGR_MOR) The Fast RC Oscillator Frequency is at 4 MHz (default)
|
|
#define | CKGR_MOR_MOSCRCF_8_MHz (0x1u << 4) |
| (CKGR_MOR) The Fast RC Oscillator Frequency is at 8 MHz
|
|
#define | CKGR_MOR_MOSCRCF_12_MHz (0x2u << 4) |
| (CKGR_MOR) The Fast RC Oscillator Frequency is at 12 MHz
|
|
#define | CKGR_MOR_MOSCXTST_Pos 8 |
|
#define | CKGR_MOR_MOSCXTST_Msk (0xffu << CKGR_MOR_MOSCXTST_Pos) |
| (CKGR_MOR) Main Crystal Oscillator Start-up Time
|
|
#define | CKGR_MOR_MOSCXTST(value) ((CKGR_MOR_MOSCXTST_Msk & ((value) << CKGR_MOR_MOSCXTST_Pos))) |
|
#define | CKGR_MOR_KEY_Pos 16 |
|
#define | CKGR_MOR_KEY_Msk (0xffu << CKGR_MOR_KEY_Pos) |
| (CKGR_MOR) Password
|
|
#define | CKGR_MOR_KEY(value) ((CKGR_MOR_KEY_Msk & ((value) << CKGR_MOR_KEY_Pos))) |
|
#define | CKGR_MOR_MOSCSEL (0x1u << 24) |
| (CKGR_MOR) Main Oscillator Selection
|
|
#define | CKGR_MOR_CFDEN (0x1u << 25) |
| (CKGR_MOR) Clock Failure Detector Enable
|
|
#define | CKGR_MCFR_MAINF_Pos 0 |
|
#define | CKGR_MCFR_MAINF_Msk (0xffffu << CKGR_MCFR_MAINF_Pos) |
| (CKGR_MCFR) Main Clock Frequency
|
|
#define | CKGR_MCFR_MAINF(value) ((CKGR_MCFR_MAINF_Msk & ((value) << CKGR_MCFR_MAINF_Pos))) |
|
#define | CKGR_MCFR_MAINFRDY (0x1u << 16) |
| (CKGR_MCFR) Main Clock Ready
|
|
#define | CKGR_MCFR_RCMEAS (0x1u << 20) |
| (CKGR_MCFR) RC Oscillator Frequency Measure (write-only)
|
|
#define | CKGR_PLLAR_DIVA_Pos 0 |
|
#define | CKGR_PLLAR_DIVA_Msk (0xffu << CKGR_PLLAR_DIVA_Pos) |
| (CKGR_PLLAR) Divider
|
|
#define | CKGR_PLLAR_DIVA(value) ((CKGR_PLLAR_DIVA_Msk & ((value) << CKGR_PLLAR_DIVA_Pos))) |
|
#define | CKGR_PLLAR_PLLACOUNT_Pos 8 |
|
#define | CKGR_PLLAR_PLLACOUNT_Msk (0x3fu << CKGR_PLLAR_PLLACOUNT_Pos) |
| (CKGR_PLLAR) PLLA Counter
|
|
#define | CKGR_PLLAR_PLLACOUNT(value) ((CKGR_PLLAR_PLLACOUNT_Msk & ((value) << CKGR_PLLAR_PLLACOUNT_Pos))) |
|
#define | CKGR_PLLAR_MULA_Pos 16 |
|
#define | CKGR_PLLAR_MULA_Msk (0x7ffu << CKGR_PLLAR_MULA_Pos) |
| (CKGR_PLLAR) PLLA Multiplier
|
|
#define | CKGR_PLLAR_MULA(value) ((CKGR_PLLAR_MULA_Msk & ((value) << CKGR_PLLAR_MULA_Pos))) |
|
#define | CKGR_PLLAR_ONE (0x1u << 29) |
| (CKGR_PLLAR) Must Be Set to 1
|
|
#define | CKGR_PLLBR_DIVB_Pos 0 |
|
#define | CKGR_PLLBR_DIVB_Msk (0xffu << CKGR_PLLBR_DIVB_Pos) |
| (CKGR_PLLBR) Divider
|
|
#define | CKGR_PLLBR_DIVB(value) ((CKGR_PLLBR_DIVB_Msk & ((value) << CKGR_PLLBR_DIVB_Pos))) |
|
#define | CKGR_PLLBR_PLLBCOUNT_Pos 8 |
|
#define | CKGR_PLLBR_PLLBCOUNT_Msk (0x3fu << CKGR_PLLBR_PLLBCOUNT_Pos) |
| (CKGR_PLLBR) PLLB Counter
|
|
#define | CKGR_PLLBR_PLLBCOUNT(value) ((CKGR_PLLBR_PLLBCOUNT_Msk & ((value) << CKGR_PLLBR_PLLBCOUNT_Pos))) |
|
#define | CKGR_PLLBR_MULB_Pos 16 |
|
#define | CKGR_PLLBR_MULB_Msk (0x7ffu << CKGR_PLLBR_MULB_Pos) |
| (CKGR_PLLBR) PLLB Multiplier
|
|
#define | CKGR_PLLBR_MULB(value) ((CKGR_PLLBR_MULB_Msk & ((value) << CKGR_PLLBR_MULB_Pos))) |
|
#define | PMC_MCKR_CSS_Pos 0 |
|
#define | PMC_MCKR_CSS_Msk (0x3u << PMC_MCKR_CSS_Pos) |
| (PMC_MCKR) Master Clock Source Selection
|
|
#define | PMC_MCKR_CSS_SLOW_CLK (0x0u << 0) |
| (PMC_MCKR) Slow Clock is selected
|
|
#define | PMC_MCKR_CSS_MAIN_CLK (0x1u << 0) |
| (PMC_MCKR) Main Clock is selected
|
|
#define | PMC_MCKR_CSS_PLLA_CLK (0x2u << 0) |
| (PMC_MCKR) PLLA Clock is selected
|
|
#define | PMC_MCKR_CSS_PLLB_CLK (0x3u << 0) |
| (PMC_MCKR) PLLBClock is selected
|
|
#define | PMC_MCKR_PRES_Pos 4 |
|
#define | PMC_MCKR_PRES_Msk (0x7u << PMC_MCKR_PRES_Pos) |
| (PMC_MCKR) Processor Clock Prescaler
|
|
#define | PMC_MCKR_PRES_CLK_1 (0x0u << 4) |
| (PMC_MCKR) Selected clock
|
|
#define | PMC_MCKR_PRES_CLK_2 (0x1u << 4) |
| (PMC_MCKR) Selected clock divided by 2
|
|
#define | PMC_MCKR_PRES_CLK_4 (0x2u << 4) |
| (PMC_MCKR) Selected clock divided by 4
|
|
#define | PMC_MCKR_PRES_CLK_8 (0x3u << 4) |
| (PMC_MCKR) Selected clock divided by 8
|
|
#define | PMC_MCKR_PRES_CLK_16 (0x4u << 4) |
| (PMC_MCKR) Selected clock divided by 16
|
|
#define | PMC_MCKR_PRES_CLK_32 (0x5u << 4) |
| (PMC_MCKR) Selected clock divided by 32
|
|
#define | PMC_MCKR_PRES_CLK_64 (0x6u << 4) |
| (PMC_MCKR) Selected clock divided by 64
|
|
#define | PMC_MCKR_PRES_CLK_3 (0x7u << 4) |
| (PMC_MCKR) Selected clock divided by 3
|
|
#define | PMC_MCKR_PLLADIV2 (0x1u << 12) |
| (PMC_MCKR) PLLA Divisor by 2
|
|
#define | PMC_MCKR_PLLBDIV2 (0x1u << 13) |
| (PMC_MCKR) PLLB Divisor by 2
|
|
#define | PMC_USB_USBS (0x1u << 0) |
| (PMC_USB) USB Input Clock Selection
|
|
#define | PMC_USB_USBDIV_Pos 8 |
|
#define | PMC_USB_USBDIV_Msk (0xfu << PMC_USB_USBDIV_Pos) |
| (PMC_USB) Divider for USB Clock.
|
|
#define | PMC_USB_USBDIV(value) ((PMC_USB_USBDIV_Msk & ((value) << PMC_USB_USBDIV_Pos))) |
|
#define | PMC_PCK_CSS_Pos 0 |
|
#define | PMC_PCK_CSS_Msk (0x7u << PMC_PCK_CSS_Pos) |
| (PMC_PCK[3]) Master Clock Source Selection
|
|
#define | PMC_PCK_CSS_SLOW_CLK (0x0u << 0) |
| (PMC_PCK[3]) Slow Clock is selected
|
|
#define | PMC_PCK_CSS_MAIN_CLK (0x1u << 0) |
| (PMC_PCK[3]) Main Clock is selected
|
|
#define | PMC_PCK_CSS_PLLA_CLK (0x2u << 0) |
| (PMC_PCK[3]) PLLA Clock is selected
|
|
#define | PMC_PCK_CSS_PLLB_CLK (0x3u << 0) |
| (PMC_PCK[3]) PLLB Clock is selected
|
|
#define | PMC_PCK_CSS_MCK (0x4u << 0) |
| (PMC_PCK[3]) Master Clock is selected
|
|
#define | PMC_PCK_PRES_Pos 4 |
|
#define | PMC_PCK_PRES_Msk (0x7u << PMC_PCK_PRES_Pos) |
| (PMC_PCK[3]) Programmable Clock Prescaler
|
|
#define | PMC_PCK_PRES_CLK_1 (0x0u << 4) |
| (PMC_PCK[3]) Selected clock
|
|
#define | PMC_PCK_PRES_CLK_2 (0x1u << 4) |
| (PMC_PCK[3]) Selected clock divided by 2
|
|
#define | PMC_PCK_PRES_CLK_4 (0x2u << 4) |
| (PMC_PCK[3]) Selected clock divided by 4
|
|
#define | PMC_PCK_PRES_CLK_8 (0x3u << 4) |
| (PMC_PCK[3]) Selected clock divided by 8
|
|
#define | PMC_PCK_PRES_CLK_16 (0x4u << 4) |
| (PMC_PCK[3]) Selected clock divided by 16
|
|
#define | PMC_PCK_PRES_CLK_32 (0x5u << 4) |
| (PMC_PCK[3]) Selected clock divided by 32
|
|
#define | PMC_PCK_PRES_CLK_64 (0x6u << 4) |
| (PMC_PCK[3]) Selected clock divided by 64
|
|
#define | PMC_IER_MOSCXTS (0x1u << 0) |
| (PMC_IER) Main Crystal Oscillator Status Interrupt Enable
|
|
#define | PMC_IER_LOCKA (0x1u << 1) |
| (PMC_IER) PLLA Lock Interrupt Enable
|
|
#define | PMC_IER_LOCKB (0x1u << 2) |
| (PMC_IER) PLLB Lock Interrupt Enable
|
|
#define | PMC_IER_MCKRDY (0x1u << 3) |
| (PMC_IER) Master Clock Ready Interrupt Enable
|
|
#define | PMC_IER_PCKRDY0 (0x1u << 8) |
| (PMC_IER) Programmable Clock Ready 0 Interrupt Enable
|
|
#define | PMC_IER_PCKRDY1 (0x1u << 9) |
| (PMC_IER) Programmable Clock Ready 1 Interrupt Enable
|
|
#define | PMC_IER_PCKRDY2 (0x1u << 10) |
| (PMC_IER) Programmable Clock Ready 2 Interrupt Enable
|
|
#define | PMC_IER_MOSCSELS (0x1u << 16) |
| (PMC_IER) Main Oscillator Selection Status Interrupt Enable
|
|
#define | PMC_IER_MOSCRCS (0x1u << 17) |
| (PMC_IER) Main On-Chip RC Status Interrupt Enable
|
|
#define | PMC_IER_CFDEV (0x1u << 18) |
| (PMC_IER) Clock Failure Detector Event Interrupt Enable
|
|
#define | PMC_IDR_MOSCXTS (0x1u << 0) |
| (PMC_IDR) Main Crystal Oscillator Status Interrupt Disable
|
|
#define | PMC_IDR_LOCKA (0x1u << 1) |
| (PMC_IDR) PLLA Lock Interrupt Disable
|
|
#define | PMC_IDR_LOCKB (0x1u << 2) |
| (PMC_IDR) PLLB Lock Interrupt Disable
|
|
#define | PMC_IDR_MCKRDY (0x1u << 3) |
| (PMC_IDR) Master Clock Ready Interrupt Disable
|
|
#define | PMC_IDR_PCKRDY0 (0x1u << 8) |
| (PMC_IDR) Programmable Clock Ready 0 Interrupt Disable
|
|
#define | PMC_IDR_PCKRDY1 (0x1u << 9) |
| (PMC_IDR) Programmable Clock Ready 1 Interrupt Disable
|
|
#define | PMC_IDR_PCKRDY2 (0x1u << 10) |
| (PMC_IDR) Programmable Clock Ready 2 Interrupt Disable
|
|
#define | PMC_IDR_MOSCSELS (0x1u << 16) |
| (PMC_IDR) Main Oscillator Selection Status Interrupt Disable
|
|
#define | PMC_IDR_MOSCRCS (0x1u << 17) |
| (PMC_IDR) Main On-Chip RC Status Interrupt Disable
|
|
#define | PMC_IDR_CFDEV (0x1u << 18) |
| (PMC_IDR) Clock Failure Detector Event Interrupt Disable
|
|
#define | PMC_SR_MOSCXTS (0x1u << 0) |
| (PMC_SR) Main XTAL Oscillator Status
|
|
#define | PMC_SR_LOCKA (0x1u << 1) |
| (PMC_SR) PLLA Lock Status
|
|
#define | PMC_SR_LOCKB (0x1u << 2) |
| (PMC_SR) PLLB Lock Status
|
|
#define | PMC_SR_MCKRDY (0x1u << 3) |
| (PMC_SR) Master Clock Status
|
|
#define | PMC_SR_OSCSELS (0x1u << 7) |
| (PMC_SR) Slow Clock Oscillator Selection
|
|
#define | PMC_SR_PCKRDY0 (0x1u << 8) |
| (PMC_SR) Programmable Clock Ready Status
|
|
#define | PMC_SR_PCKRDY1 (0x1u << 9) |
| (PMC_SR) Programmable Clock Ready Status
|
|
#define | PMC_SR_PCKRDY2 (0x1u << 10) |
| (PMC_SR) Programmable Clock Ready Status
|
|
#define | PMC_SR_MOSCSELS (0x1u << 16) |
| (PMC_SR) Main Oscillator Selection Status
|
|
#define | PMC_SR_MOSCRCS (0x1u << 17) |
| (PMC_SR) Main On-Chip RC Oscillator Status
|
|
#define | PMC_SR_CFDEV (0x1u << 18) |
| (PMC_SR) Clock Failure Detector Event
|
|
#define | PMC_SR_CFDS (0x1u << 19) |
| (PMC_SR) Clock Failure Detector Status
|
|
#define | PMC_SR_FOS (0x1u << 20) |
| (PMC_SR) Clock Failure Detector Fault Output Status
|
|
#define | PMC_IMR_MOSCXTS (0x1u << 0) |
| (PMC_IMR) Main Crystal Oscillator Status Interrupt Mask
|
|
#define | PMC_IMR_LOCKA (0x1u << 1) |
| (PMC_IMR) PLLA Lock Interrupt Mask
|
|
#define | PMC_IMR_LOCKB (0x1u << 2) |
| (PMC_IMR) PLLB Lock Interrupt Mask
|
|
#define | PMC_IMR_MCKRDY (0x1u << 3) |
| (PMC_IMR) Master Clock Ready Interrupt Mask
|
|
#define | PMC_IMR_PCKRDY0 (0x1u << 8) |
| (PMC_IMR) Programmable Clock Ready 0 Interrupt Mask
|
|
#define | PMC_IMR_PCKRDY1 (0x1u << 9) |
| (PMC_IMR) Programmable Clock Ready 1 Interrupt Mask
|
|
#define | PMC_IMR_PCKRDY2 (0x1u << 10) |
| (PMC_IMR) Programmable Clock Ready 2 Interrupt Mask
|
|
#define | PMC_IMR_MOSCSELS (0x1u << 16) |
| (PMC_IMR) Main Oscillator Selection Status Interrupt Mask
|
|
#define | PMC_IMR_MOSCRCS (0x1u << 17) |
| (PMC_IMR) Main On-Chip RC Status Interrupt Mask
|
|
#define | PMC_IMR_CFDEV (0x1u << 18) |
| (PMC_IMR) Clock Failure Detector Event Interrupt Mask
|
|
#define | PMC_FSMR_FSTT0 (0x1u << 0) |
| (PMC_FSMR) Fast Startup Input Enable 0
|
|
#define | PMC_FSMR_FSTT1 (0x1u << 1) |
| (PMC_FSMR) Fast Startup Input Enable 1
|
|
#define | PMC_FSMR_FSTT2 (0x1u << 2) |
| (PMC_FSMR) Fast Startup Input Enable 2
|
|
#define | PMC_FSMR_FSTT3 (0x1u << 3) |
| (PMC_FSMR) Fast Startup Input Enable 3
|
|
#define | PMC_FSMR_FSTT4 (0x1u << 4) |
| (PMC_FSMR) Fast Startup Input Enable 4
|
|
#define | PMC_FSMR_FSTT5 (0x1u << 5) |
| (PMC_FSMR) Fast Startup Input Enable 5
|
|
#define | PMC_FSMR_FSTT6 (0x1u << 6) |
| (PMC_FSMR) Fast Startup Input Enable 6
|
|
#define | PMC_FSMR_FSTT7 (0x1u << 7) |
| (PMC_FSMR) Fast Startup Input Enable 7
|
|
#define | PMC_FSMR_FSTT8 (0x1u << 8) |
| (PMC_FSMR) Fast Startup Input Enable 8
|
|
#define | PMC_FSMR_FSTT9 (0x1u << 9) |
| (PMC_FSMR) Fast Startup Input Enable 9
|
|
#define | PMC_FSMR_FSTT10 (0x1u << 10) |
| (PMC_FSMR) Fast Startup Input Enable 10
|
|
#define | PMC_FSMR_FSTT11 (0x1u << 11) |
| (PMC_FSMR) Fast Startup Input Enable 11
|
|
#define | PMC_FSMR_FSTT12 (0x1u << 12) |
| (PMC_FSMR) Fast Startup Input Enable 12
|
|
#define | PMC_FSMR_FSTT13 (0x1u << 13) |
| (PMC_FSMR) Fast Startup Input Enable 13
|
|
#define | PMC_FSMR_FSTT14 (0x1u << 14) |
| (PMC_FSMR) Fast Startup Input Enable 14
|
|
#define | PMC_FSMR_FSTT15 (0x1u << 15) |
| (PMC_FSMR) Fast Startup Input Enable 15
|
|
#define | PMC_FSMR_RTTAL (0x1u << 16) |
| (PMC_FSMR) RTT Alarm Enable
|
|
#define | PMC_FSMR_RTCAL (0x1u << 17) |
| (PMC_FSMR) RTC Alarm Enable
|
|
#define | PMC_FSMR_USBAL (0x1u << 18) |
| (PMC_FSMR) USB Alarm Enable
|
|
#define | PMC_FSMR_FLPM_Pos 21 |
|
#define | PMC_FSMR_FLPM_Msk (0x3u << PMC_FSMR_FLPM_Pos) |
| (PMC_FSMR) Flash Low Power Mode
|
|
#define | PMC_FSMR_FLPM_FLASH_STANDBY (0x0u << 21) |
| (PMC_FSMR) Flash is in Standby mode when system enters wait mode
|
|
#define | PMC_FSMR_FLPM_FLASH_DEEP_POWERDOWN (0x1u << 21) |
| (PMC_FSMR) Flash is in deep power down mode when system enters wait mode
|
|
#define | PMC_FSMR_FLPM_FLASH_IDLE (0x2u << 21) |
| (PMC_FSMR) idle mode
|
|
#define | PMC_FSPR_FSTP0 (0x1u << 0) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP1 (0x1u << 1) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP2 (0x1u << 2) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP3 (0x1u << 3) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP4 (0x1u << 4) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP5 (0x1u << 5) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP6 (0x1u << 6) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP7 (0x1u << 7) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP8 (0x1u << 8) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP9 (0x1u << 9) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP10 (0x1u << 10) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP11 (0x1u << 11) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP12 (0x1u << 12) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP13 (0x1u << 13) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP14 (0x1u << 14) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FSPR_FSTP15 (0x1u << 15) |
| (PMC_FSPR) Fast Startup Input Polarityx
|
|
#define | PMC_FOCR_FOCLR (0x1u << 0) |
| (PMC_FOCR) Fault Output Clear
|
|
#define | PMC_WPMR_WPEN (0x1u << 0) |
| (PMC_WPMR) Write Protect Enable
|
|
#define | PMC_WPMR_WPKEY_Pos 8 |
|
#define | PMC_WPMR_WPKEY_Msk (0xffffffu << PMC_WPMR_WPKEY_Pos) |
| (PMC_WPMR) Write Protect KEY
|
|
#define | PMC_WPMR_WPKEY(value) ((PMC_WPMR_WPKEY_Msk & ((value) << PMC_WPMR_WPKEY_Pos))) |
|
#define | PMC_WPSR_WPVS (0x1u << 0) |
| (PMC_WPSR) Write Protect Violation Status
|
|
#define | PMC_WPSR_WPVSRC_Pos 8 |
|
#define | PMC_WPSR_WPVSRC_Msk (0xffffu << PMC_WPSR_WPVSRC_Pos) |
| (PMC_WPSR) Write Protect Violation Source
|
|
#define | PMC_PCER1_PID32 (0x1u << 0) |
| (PMC_PCER1) Peripheral Clock 32 Enable
|
|
#define | PMC_PCER1_PID33 (0x1u << 1) |
| (PMC_PCER1) Peripheral Clock 33 Enable
|
|
#define | PMC_PCER1_PID34 (0x1u << 2) |
| (PMC_PCER1) Peripheral Clock 34 Enable
|
|
#define | PMC_PCDR1_PID32 (0x1u << 0) |
| (PMC_PCDR1) Peripheral Clock 32 Disable
|
|
#define | PMC_PCDR1_PID33 (0x1u << 1) |
| (PMC_PCDR1) Peripheral Clock 33 Disable
|
|
#define | PMC_PCDR1_PID34 (0x1u << 2) |
| (PMC_PCDR1) Peripheral Clock 34 Disable
|
|
#define | PMC_PCSR1_PID32 (0x1u << 0) |
| (PMC_PCSR1) Peripheral Clock 32 Status
|
|
#define | PMC_PCSR1_PID33 (0x1u << 1) |
| (PMC_PCSR1) Peripheral Clock 33 Status
|
|
#define | PMC_PCSR1_PID34 (0x1u << 2) |
| (PMC_PCSR1) Peripheral Clock 34 Status
|
|
#define | PMC_OCR_CAL4_Pos 0 |
|
#define | PMC_OCR_CAL4_Msk (0x7fu << PMC_OCR_CAL4_Pos) |
| (PMC_OCR) RC Oscillator Calibration bits for 4 Mhz
|
|
#define | PMC_OCR_CAL4(value) ((PMC_OCR_CAL4_Msk & ((value) << PMC_OCR_CAL4_Pos))) |
|
#define | PMC_OCR_SEL4 (0x1u << 7) |
| (PMC_OCR) Selection of RC Oscillator Calibration bits for 4 Mhz
|
|
#define | PMC_OCR_CAL8_Pos 8 |
|
#define | PMC_OCR_CAL8_Msk (0x7fu << PMC_OCR_CAL8_Pos) |
| (PMC_OCR) RC Oscillator Calibration bits for 8 Mhz
|
|
#define | PMC_OCR_CAL8(value) ((PMC_OCR_CAL8_Msk & ((value) << PMC_OCR_CAL8_Pos))) |
|
#define | PMC_OCR_SEL8 (0x1u << 15) |
| (PMC_OCR) Selection of RC Oscillator Calibration bits for 8 Mhz
|
|
#define | PMC_OCR_CAL12_Pos 16 |
|
#define | PMC_OCR_CAL12_Msk (0x7fu << PMC_OCR_CAL12_Pos) |
| (PMC_OCR) RC Oscillator Calibration bits for 12 Mhz
|
|
#define | PMC_OCR_CAL12(value) ((PMC_OCR_CAL12_Msk & ((value) << PMC_OCR_CAL12_Pos))) |
|
#define | PMC_OCR_SEL12 (0x1u << 23) |
| (PMC_OCR) Selection of RC Oscillator Calibration bits for 12 Mhz
|
|