\n
address_offset : 0x0 Bytes (0x0)
size : 0x34 byte (0x0)
mem_usage : registers
protection :
address_offset : 0x38 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0xB4 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
address_offset : 0xF0 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection :
System Power Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FWKEN : STOP/DeepSleep mode fast wakeup enable control
Note: Normal wake up will count 2 LIRC first, and then switch to original HCLK source. Fast wakeup will direct switch to original HCLK source without any LIRC counting.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Normal wake up
#1 : 1
Fast wake up (default)
End of enumeration elements list.
HXTEN : External high speed Crystal Oscillator Control
After reset, this bit is 0 .
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
External high speed crystal oscillation Disabled
#1 : 1
External high speed crystal oscillation Enabled
End of enumeration elements list.
HIRCEN : Internal high speed RC Oscillator Control
After reset, this bit is 1 .
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Internal high speed oscillation Disabled
#1 : 1
Internal high speed oscillation Enabled
End of enumeration elements list.
HXTGAIN : HXT Gain Control Bit
This is a protected register. Please refer to open lock sequence to program it.
Gain control is used to enlarge the gain of crystal to make sure crystal work normally. If gain control is enabled, crystal will consume more power than gain control off.
bits : 3 - 5 (3 bit)
access : read-write
Enumeration:
#000 : 0
HXT frequency is from 1 MHz to4 MHz
#001 : 1
HXT frequency is from 4 MHz to 8 MHz
#010 : 2
HXT frequency is from 8 MHz to 12 MHz
#011 : 3
HXT frequency is from 12 MHz to 16 MHz
#100 : 4
HXT frequency is higher than 16 MHz
End of enumeration elements list.
HXTTBEN : HXT Crystal TURBO Mode (Write Protect)
This is a protected register. Please refer to open lock sequence to program it.
bits : 6 - 6 (1 bit)
access : read-write
Enumeration:
#0 : 0
HXT Crystal TURBO mode disabled
#1 : 1
HXT Crystal TURBO mode enabled
End of enumeration elements list.
IOFWK : All IO pin is enabled fast wakeup in STOP/DeepSleep mode.
When this bit set 0'b, trigger IO will delay 3 LIRC and then trigger wakeup from STOP/DeepSleep mode. When this bit set 1'b, trigger IO will wakeup from STOP/DeepSleep mode immediately.
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
Slow wakeup
#1 : 1
Fast wakeup
End of enumeration elements list.
CLKRDDLY : Enable the Clock Ready Delay Counter
When HXT enable, the clock control will delay certain clock cycles to wait clock stable.
The delayed clock cycle is 4096 clock cycles when external high speed crystal oscillator (HXT) enable.
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock cycles delay Disabled
#1 : 1
Clock cycles delay Enabled
End of enumeration elements list.
STOPEN : STOP mode bit. Set to '1' and issue WFI/WFE instruction to enter STOP mode.
bits : 9 - 9 (1 bit)
access : read-write
DPDEN : Deep Power Down (DPD) bit. Set to '1' and issue WFI/WFE instruction to enter DPD mode.
bits : 10 - 10 (1 bit)
access : read-write
LIRCEN : Internal 10kHz Oscillator Control
After reset, this bit is 0 .
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
Internal 10 KHz oscillator Disabled
#1 : 1
Internal 10 KHz oscillator Enabled
End of enumeration elements list.
VSET : Adjusts the digital supply voltage. Should be left as default.
bits : 13 - 15 (3 bit)
access : read-write
WKPINEN : Determines whether WAKEUP pin(PA15) is enabled in DPD mode.
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
Enabled
#1 : 1
Disabled
End of enumeration elements list.
WK10KEN : Determines whether OSC10K is enabled in DPD mode.
Note: If WK10KEN is disabled, device cannot wake from DPD with SELWKTMR delay.
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
Enabled in DPD
#1 : 1
Disabled in DPD
End of enumeration elements list.
FLASHEN : Determine whether FLASH memory enters deep power down.
If FLASHEN is selected for a power state mode, current consumption is reduced, but a 10us wakeup time must be added to the wakeup sequence. Trade-off is wakeup time for standby power.
bits : 18 - 19 (2 bit)
access : read-write
SELWKTMR : Select WAKEUP Timer:
bits : 20 - 22 (3 bit)
access : read-write
Enumeration:
#000 : 0
Time-out interval is 128 LIRC clocks (About 12.8 ms)
#001 : 1
Time-out interval is 256 LIRC clocks (About 25.6 ms)
#010 : 2
Time-out interval is 512 LIRC clocks (About 51.2 ms)
#011 : 3
Time-out interval is 1024 LIRC clocks (About 102.4ms)
#100 : 4
Time-out interval is 4096 LIRC clocks (About 409.6ms)
#101 : 5
Time-out interval is 8192 LIRC clocks (About 819.2ms)
#110 : 6
Time-out interval is 16384 LIRC clocks (About 1638.4ms)
#111 : 7
Time-out interval is 65536 LIRC clocks (About 6553.6ms)
End of enumeration elements list.
WKPINWKF : Read Only. This flag indicates that wakeup of device was requested with a high to low transition of the WAKEUP pin. Flag is cleared when DPD mode is entered or any of the DPD bits of RSTSRC register (RSTSRC[10:8]) are cleared.
bits : 24 - 24 (1 bit)
access : read-write
TMRWKF : Read Only. This flag indicates that wakeup of device was requested with TIMER count of the 10Khz oscillator. Flag is cleared when DPD mode is entered or any of the DPD bits of RSTSRC register (RSTSRC [10:8]) are cleared.
bits : 25 - 25 (1 bit)
access : read-write
WKPUEN : Wakeup Pin Pull-up Control
This signal is latched in deep power down and preserved.
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
pull-up enable
#1 : 1
tri-state (default)
End of enumeration elements list.
WKTMRSTS : Read-Only. Read back of the current WAKEUP timer setting. This value is updated with SELWKTMR upon entering DPD mode.
bits : 28 - 31 (4 bit)
access : read-write
Clock Source Select Control Register 0
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HCLKSEL : HCLK Clock Source Select
Note:
1. When power on, HIRC is selected as HCLK clock source.
2. Before clock switch, the related clock sources (pre-select and new-select) must be turned on.
bits : 0 - 1 (2 bit)
access : read-write
Enumeration:
#00 : 0
clock source from HXT
#01 : 1
clock source from PLLFOUT
#10 : 2
clock source from LIRC
#11 : 3
clock source from HIRC
End of enumeration elements list.
STICKSEL : SYS_TICK Clock Source Select
Note:
1. When power on, HIRC is selected as HCLK clock source.
2. Before clock switch, the related clock sources (pre-select and new-select) must be turned on.
3. SysTick clock source must less than or equal to HCLK/2.
bits : 3 - 4 (2 bit)
access : read-write
Enumeration:
#00 : 0
clock source from HXT
#01 : 1
clock source from HXT/2
#10 : 2
clock source from HCLK/2
#11 : 3
clock source from HIRC/2
End of enumeration elements list.
OSCFSEL : HIRC Frequency Selection register
These bits are protected, to write to bits first perform the unlock sequence (see Register Lock Control Register (SYS_REGLCTL))
bits : 6 - 7 (2 bit)
access : read-write
Enumeration:
#00 : 0
Trim for 49.152MHz@VCC=3.3V selected
#01 : 1
Trim for 49.152MHz@VCC=1.8V selected.
Trim for 48MHz@VCC=3.3V selected
End of enumeration elements list.
FCLK_MUX_STATE : These register state shows the current HCLK is from which source clock
Others reserved.
bits : 16 - 18 (3 bit)
access : read-write
Enumeration:
#000 : 0
clock source from HXT
#001 : 1
clock source from PLLFOUT
#010 : 2
clock source from LIRC
#011 : 3
clock source from HIRC
End of enumeration elements list.
Clock Source Select Control Register 1
address_offset : 0x14 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WDTSEL : Watchdog Timer Clock Source Selection (Write Protect)
These bits are protected bits. To program these bits needs an open lock sequence, write 59h , 16h , 88h to SYS_REGLCTL to un-lock these bits. Refer to the register SYS_REGLCTL at address SYS_BA+0x100..
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock source from LIRC
#1 : 1
Clock source from HCLK/2048
End of enumeration elements list.
SARADCSEL : SARADC Clock Source Select
bits : 2 - 3 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from PCLK
#11 : 3
Clock source from HIRC
End of enumeration elements list.
SPI0SEL : SPI0 Clock Source Select
Note: SPI0 engine clock must be same clock source as PCLK
bits : 4 - 5 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from PCLK
#11 : 3
Clock source from HIRC
End of enumeration elements list.
SPI1SEL : SPI1 Clock Source Select
Note: SPI1 engine clock must be same clock source as PCLK
bits : 6 - 7 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from PCLK
#11 : 3
Clock source from HIRC
End of enumeration elements list.
TMR0SEL : Timer0 Clock Source Select
bits : 8 - 10 (3 bit)
access : read-write
Enumeration:
#000 : 0
Clock source from HXT
#001 : 1
Clock source from PCLK
#010 : 2
Clock source from External Trigger
#011 : 3
Clock source from LIRC
#100 : 4
Clock source from HIRC
End of enumeration elements list.
TMR1SEL : Timer1 Clock Source Select
bits : 12 - 14 (3 bit)
access : read-write
Enumeration:
#000 : 0
Clock source from HXT
#001 : 1
Clock source from PCLK
#010 : 2
Clock source from External Trigger
#011 : 3
Clock source from LIRC
#100 : 4
Clock source from HIRC
End of enumeration elements list.
TMR2SEL : Timer2 Clock Source Select
bits : 16 - 18 (3 bit)
access : read-write
Enumeration:
#000 : 0
Clock source from HXT
#001 : 1
Clock source from PCLK
#010 : 2
Clock source from External Trigger
#011 : 3
Clock source from LIRC
#100 : 4
Clock source from HIRC
End of enumeration elements list.
I2SSEL : I2S Clock Source Select
bits : 20 - 22 (3 bit)
access : read-write
Enumeration:
#000 : 0
Clock source from HXT
#001 : 1
Clock source from PLLFOUT
#010 : 2
Clock source from PCLK
#011 : 3
Clock source from HIRC
#100 : 4
Clock source from MCLKI
#101 : 5
Clock source from XCLK
End of enumeration elements list.
UART0SEL : UART0 Clock Source Select
bits : 24 - 25 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from HIRC
#11 : 3
Clock source from HIRC
End of enumeration elements list.
UART1SEL : UART1 Clock Source Select
bits : 26 - 27 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from HIRC
#11 : 3
Clock source from HIRC
End of enumeration elements list.
PWM0SEL : PWM Timer Clock Source Select
bits : 28 - 29 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from PCLK
#11 : 3
Clock source from HIRC
End of enumeration elements list.
PWM1SEL : PWM Timer Clock Source Select
bits : 30 - 31 (2 bit)
access : read-write
Enumeration:
#00 : 0
Clock source from HXT
#01 : 1
Clock source from PLLFOUT
#10 : 2
Clock source from PCLK
#11 : 3
Clock source from HIRC
End of enumeration elements list.
Clock Divider Number Register 0
address_offset : 0x18 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HCLKDIV : HCLK Clock Divide Number From HCLK Clock Source
bits : 0 - 3 (4 bit)
access : read-write
UART0DIV : UART0 Clock Divide Number From UART0 Clock Source
Note: UART0 engine clock must smaller or equal to PCLK.
bits : 4 - 7 (4 bit)
access : read-write
UART1DIV : UART1 Clock Divide Number From UART1 Clock Source
Note: UART1 engine clock must smaller or equal to PCLK.
bits : 8 - 11 (4 bit)
access : read-write
USBDIV : USB Clock Divide Number From PLL Clock
bits : 12 - 15 (4 bit)
access : read-write
SARADCDIV : SARADC Clock Divide Number From ADC Clock Source
bits : 16 - 22 (7 bit)
access : read-write
Clock Divider Number Register 1
address_offset : 0x1C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DACDIV : DAC Clock Divide Number From DAC Clock Source
bits : 0 - 7 (8 bit)
access : read-write
BIQDIV : BIQ Clock Divide Number From HCLK
Note: BIQ clock frequency must keep PCLK/2
bits : 8 - 11 (4 bit)
access : read-write
SDADCDIV : SDADC Clock Divide Number From SDADC Clock Source
bits : 16 - 23 (8 bit)
access : read-write
Clock Status Monitor Register
address_offset : 0x20 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0
HXTSTB : HXT Clock Source Stable Flag (Read Only)
bits : 0 - 0 (1 bit)
access : read-only
Enumeration:
#0 : 0
External high speed crystal oscillator (HXT) clock is not stable or disabled
#1 : 1
External high speed crystal oscillator (HXT) clock is stabled and enabled
End of enumeration elements list.
LIRCSTB : LIRC Clock Source Stable Flag (Read Only)
bits : 1 - 1 (1 bit)
access : read-only
Enumeration:
#0 : 0
Internal low speed RC oscillator (LIRC) clock is not stable or disabled
#1 : 1
Internal low speed RC oscillator (LIRC) clock is stable and enabled
End of enumeration elements list.
HIRCSTB : HIRC clock source stable flag(Read only)
bits : 2 - 2 (1 bit)
access : read-only
Enumeration:
#0 : 0
Internal high speed RC oscillator (HIRC) clock is not stable or disabled
#1 : 1
Internal high speed RC oscillator (HIRC) clock is stable and enabled
End of enumeration elements list.
PLLSTB : Internal PLL Clock Source Stable Flag (Read Only)
bits : 3 - 3 (1 bit)
access : read-only
Enumeration:
#0 : 0
Internal PLL clock is not stable or disabled
#1 : 1
Internal PLL clock is stable and enabled
End of enumeration elements list.
XCLKSTB : XCLK Clock Source Stable Flag (Read Only)
bits : 4 - 4 (1 bit)
access : read-only
Enumeration:
#0 : 0
Clock doubler (XCLK) clock is not stable or disabled
#1 : 1
Clock doubler (XCLK) clock is stable and enabled
End of enumeration elements list.
Power Down Flag Register
address_offset : 0x24 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DSF : Deep Sleep Flag
This flag is set if core logic was placed in Deep Sleep mode. Write '1' to clear flag.
bits : 0 - 0 (1 bit)
access : read-write
STOPF : Stop Flag
This flag is set if core logic was stopped but not powered down. Write '1' to clear flag.
bits : 1 - 1 (1 bit)
access : read-write
Clock Source Select Control Register 2
address_offset : 0x28 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
USBSEL : USB Clock Source Select
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock source from HIRC
#1 : 1
Clock source from PLLFOUT
End of enumeration elements list.
XCLKSEL : Clock Doubler Source Selection
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock source from MCLK input (MCLKI)
#1 : 1
Clock source from BCLK of I2S (I2S_BCLK)
End of enumeration elements list.
DACSEL : DAC Clock Source Select
bits : 8 - 10 (3 bit)
access : read-write
Enumeration:
#000 : 0
Clock source from HXT
#001 : 1
Clock source from PLLFOUT
#010 : 2
Clock source from PCLK
#011 : 3
Clock source from HIRC
#100 : 4
Clock source from MCLKI
#101 : 5
Clock source from XCLK
End of enumeration elements list.
SDADCSEL : SDADC Clock Source Select
bits : 12 - 14 (3 bit)
access : read-write
Enumeration:
#000 : 0
Clock source from HXT
#001 : 1
Clock source from PLLFOUT
#010 : 2
Clock source from PCLK
#011 : 3
Clock source from HIRC
#100 : 4
Clock source from MCLKI
#101 : 5
Clock source from XCLK
End of enumeration elements list.
Clock Doubler Output Control Register
address_offset : 0x2C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
XCLKMUL : Clock doubler Output Frequency Multiplication
bits : 0 - 1 (2 bit)
access : read-write
Enumeration:
#00 : 0
Output frequency multiply by 1 (Bypass)
#01 : 1
Output frequency multiply by 2
#10 : 2
Output frequency multiply by 4
#11 : 3
Output frequency multiply by 8
End of enumeration elements list.
XCLKEN : XCLK Enable Bit
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock doubler (XCLK) Disabled
#1 : 1
Clock doubler (XCLK) Enabled
End of enumeration elements list.
RELOCK : XCLK relock enable setting
When write this bit to 1'b, the XCLK will execute relock action. And this bit will auto clear to 0'b after relock finish and XCLK output clock stable.
bits : 5 - 5 (1 bit)
access : read-write
XCLKFDEN : XCLK Clock Fail Detector Enable Bit
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock doubler clock (XCLK) fail detector Disabled
#1 : 1
Clock doubler clock (XCLK) fail detector Enabled
End of enumeration elements list.
XCLKFIEN : XCLK Clock Fail Interrupt Enable Bit
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock doubler clock (XCLK) fail interrupt Disabled
#1 : 1
Clock doubler clock (XCLK) fail interrupt Enabled
End of enumeration elements list.
XCLKFIF : XCLK Clock Fail Interrupt Flag
Note: Write 1 to clear the bit to 0.
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
#0 : 0
Clock doubler clock (XCLK) clock is normal
#1 : 1
Clock doubler clock (XCLK) stops
End of enumeration elements list.
PLL Control Register
address_offset : 0x30 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
FBDIV : PLL Feedback Divider Control (Write Protected)
Refer to the formulas below the table.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 0 - 5 (6 bit)
access : read-write
INDIV : PLL Input Divider Control (Write Protected)
Refer to the formulas below the table.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 9 - 12 (4 bit)
access : read-write
OUTDIV : PLL Output Divider Control (Write Protected)
Refer to the formulas below the table.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 14 - 15 (2 bit)
access : read-write
PD : Power-down Mode (Write Protected)
If set the PDEN bit to 1 in CLK_PWRCTL register, the PLL will enter Power-down mode, too.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
PLL is in normal mode
#1 : 1
PLL is in Power-down mode (default)
End of enumeration elements list.
BP : PLL Bypass Control (Write Protected)
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
PLL is in normal mode (default)
#1 : 1
PLL clock output is same as PLL input clock FIN
End of enumeration elements list.
OE : PLL OE (FOUT Enable) Pin Control (Write Protected)
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 18 - 18 (1 bit)
access : read-write
Enumeration:
#0 : 0
PLL FOUT Enabled
#1 : 1
PLL FOUT is fixed low
End of enumeration elements list.
PLLSRC : PLL Source Clock Selection (Write Protected)
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 19 - 20 (2 bit)
access : read-write
Enumeration:
#00 : 0
PLL source clock from external high-speed crystal oscillator (HXT)
#01 : 1
PLL source clock from clock doubler output (XCLK)
#10 : 2
Reserved. Do not use
#11 : 3
PLL source clock from internal high-speed oscillator (HIRC)
End of enumeration elements list.
FTREN : Fliter Enable Control
bits : 22 - 22 (1 bit)
access : read-write
Enumeration:
#0 : 0
Disable Filter
#1 : 1
Enable Filter
End of enumeration elements list.
STBSEL : PLL Stable Counter Selection (Write Protected)
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 23 - 23 (1 bit)
access : read-write
Enumeration:
#0 : 0
PLL stable time is 1293 PLL source clock (suitable for source clock is equal to or less than 12 MHz)
#1 : 1
PLL stable time is 5044 PLL source clock (suitable for source clock is larger than 12 MHz)
End of enumeration elements list.
PLL TEST Control Register
address_offset : 0x38 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
ICP : PLL charge Pump Current (Write Protect)
Adjust PLL charge pump current by these register. Default value is 0x1.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 0 - 3 (4 bit)
access : read-write
ICPMIS : PLL charge Pump Current Mismatch Compensation Selection (Write Protect)
Compensation PLL charge pump current mismatch by these registers. Default value is 0x0.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 8 - 11 (4 bit)
access : read-write
IVCO : VCO Current Current (Write Protect)
Control VCO current. Default value is 0x0.
Note: This bit is write protected. Refer to the SYS_REGLCTL register.
bits : 16 - 17 (2 bit)
access : read-write
AHB Device Clock Enable Control Register
address_offset : 0x4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PDMACKEN : PDMA Clock Enable Control
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
PDMA engine clock Disabled
#1 : 1
PDMA engine clock Enabled
End of enumeration elements list.
CPDCKEN : Companding Clock Enable Control
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Companding engine clock Disabled
#1 : 1
Companding engine clock Enabled
End of enumeration elements list.
ISPCKEN : Flash ISP Controller Clock Enable Control.
The Flash ISP engine clock always is from 49 MHz RC oscillator.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Flash ISP engine clock Disabled
#1 : 1
Flash ISP engine clock Enabled
End of enumeration elements list.
APB Device Clock Enable Control Register
address_offset : 0x8 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
WDTEN : Watchdog Clock Enable Control
This bit is the protected bit. To program this bit needs an open lock sequence, write 59h , 16h , 88h to register SYS_REGLCTL to un-lock this bit. Refer to the register SYS_REGLCTL at address SYS_BA+0x100.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
WDT clock Disabled
#1 : 1
WDT clock Enabled
End of enumeration elements list.
TMR0EN : Timer0 Clock Enable Control
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Timer0 clock Disabled
#1 : 1
Timer0 clock Enabled
End of enumeration elements list.
TMR1EN : Timer1 Clock Enable Control
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Timer1 clock Disabled
#1 : 1
Timer1 clock Enabled
End of enumeration elements list.
TMR2EN : Timer2 Clock Enable Control
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Timer2 clock Disabled
#1 : 1
Timer2 clock Enabled
End of enumeration elements list.
I2C0EN : I2C0 Clock Enable Control
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
I2C0 clock Disabled
#1 : 1
I2C0 clock Enabled
End of enumeration elements list.
I2C1EN : I2C1 Clock Enable Control
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
I2C1 clock Disabled
#1 : 1
I2C1 clock Enabled
End of enumeration elements list.
SPI1EN : SPI1 Clock Enable Control
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
SPI1 clock Disabled
#1 : 1
SPI1 clock Enabled
End of enumeration elements list.
SPI0EN : SPI0 Clock Enable Control
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
SPI0 clock Disabled
#1 : 1
SPI0 clock Enabled
End of enumeration elements list.
I2SEN : I2S Clock Enable Control
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
I2S clock Disabled
#1 : 1
I2S clock Enabled
End of enumeration elements list.
UART0EN : UART0 Block Clock Enable Control
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
UART0 clock Disabled
#1 : 1
UART0 clock Enabled
End of enumeration elements list.
UART1EN : UART1 Block Clock Enable Control
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
UART1 clock Disabled
#1 : 1
UART1 clock Enabled
End of enumeration elements list.
BIQEN : Biquad Filter(BIQ) Block Clock Enable Control
bits : 18 - 18 (1 bit)
access : read-write
Enumeration:
#0 : 0
BIQ clock Disabled
#1 : 1
BIQ clock Enabled
End of enumeration elements list.
PWM0EN : PWM0 Block Clock Enable Control
bits : 20 - 20 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM0 clock Disabled
#1 : 1
PWM0 clock Enabled
End of enumeration elements list.
PWM1EN : PWM1 Block Clock Enable Control
bits : 21 - 21 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM1 clock Disabled
#1 : 1
PWM1 clock Enabled
End of enumeration elements list.
USBEN : USB Clock Enable Control
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
USB clock Disabled
#1 : 1
USB clock Enabled
End of enumeration elements list.
SARADCEN : Analog-Digital-Converter (SARADC) Clock Enable Control
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
#0 : 0
SARADC clock Disabled
#1 : 1
SARADC clock Enabled
End of enumeration elements list.
DACEN : DAC Clock Enable Control
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
#0 : 0
DAC clock Disabled
#1 : 1
DAC clock Enabled
End of enumeration elements list.
SDADCEN : SDADC Clock Enable Control
bits : 30 - 30 (1 bit)
access : read-write
Enumeration:
#0 : 0
SDADC clock Disabled
#1 : 1
SDADC clock Enabled
End of enumeration elements list.
ANAEN : Analog Block Clock Enable Control
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
#0 : 0
Analog block clock Disabled
#1 : 1
Analog block clock Enabled
End of enumeration elements list.
HXT Filter Select Control Register
address_offset : 0xB4 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
HXTFSEL : HXT Filter Select
Note: This bit is auto cleared by hardware.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
HXT frequency is > 12 MHz
#1 : 1
HXT frequency is <= 12 MHz
End of enumeration elements list.
HXTGEN : HXT output gating enable
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Gating HXT output disable
#1 : 1
Gating HXT output enable
End of enumeration elements list.
DPD State Register and Flash Regulator Control
address_offset : 0xC Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PD_STATE : An 8bit register that is preserved when DPD (Deep Power Down) state is entered and after wakeup is available by reading PD_STATE_RB.
bits : 0 - 7 (8 bit)
access : read-write
PD_STATE_RB : Current values of PD_STATE register.
bits : 8 - 15 (8 bit)
access : read-write
TEST Clock Control Register
address_offset : 0xF0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
TCLKSEL : Test Clock Source Selection
bits : 0 - 2 (3 bit)
access : read-write
Enumeration:
#000 : 0
HCLK
#001 : 1
HIRC
#010 : 2
HXT
#011 : 3
LIRC
#100 : 4
PLLFout
#101 : 5
XCLK
End of enumeration elements list.
TESTEN : Test Clock Output Enable Bit
Test clock will output through PD0 pin
bits : 7 - 7 (1 bit)
access : read-write
Enumeration:
#0 : 0
Test clock function Disable
#1 : 1
Test clock function Enable
End of enumeration elements list.
TESTCKDIV : Test Clock Output Divider
bits : 8 - 10 (3 bit)
access : read-write
Enumeration:
#000 : 0
Test clock divide by 1
#001 : 1
Test clock divide by 2
#010 : 2
Test clock divide by 4
#011 : 3
Test clock divide by 8
#100 : 4
Test clock divide by 16
#101 : 5
Test clock divide by 32
#110 : 6
Test clock divide by 64
End of enumeration elements list.
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.