\n

GCR

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x14 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x100 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x20 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x80 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x30 Bytes (0x0)
size : 0x2C byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x60 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection : not protected

Registers

PDID

CPR

RegLockAddr

TEMPCTL

PA_L_MFP

PA_H_MFP

PB_L_MFP

PB_H_MFP

RST_SRC

PC_L_MFP

PC_H_MFP

PD_L_MFP

PD_H_MFP

PE_L_MFP

PE_H_MFP

PF_L_MFP

PORCTL

BODCTL

BODSTS

VREFCTL

IPRST_CTL1

IRCTRIMCTL

IRCTRIMIEN

IRCTRIMINT

IPRST_CTL2


PDID

Part Device Identification Number Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-only
reset_value : 0x0
reset_Mask : 0x0

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

PDID : Part Device ID \nThis register reflects device part number code. Software can read this register to identify which device is used.
bits : 0 - 31 (32 bit)
access : read-only


CPR

Chip Performance Register
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

HPE : High Performance Enable\nThis bit is used to control chip operation performance.\nWhen this bit set, internal RAM and GPIO access is working with zero wait state, Flash controller will predict next address more efficiently \n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Chip operation at normal mode

#1 : 1

Chip operation at high performance mode

End of enumeration elements list.


RegLockAddr

Register Lock Key Address Register
address_offset : 0x100 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

RegUnLock : None
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Protected register are locked. Any write to the target register is ignored

#1 : 1

Protected registers are Unlock

End of enumeration elements list.


TEMPCTL

Temperature Sensor Control Register
address_offset : 0x20 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

VTEMP_EN : Temperature Sensor Enable\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Temperature sensor function Disabled (default)

#1 : 1

Temperature sensor function Enabled

End of enumeration elements list.


PA_L_MFP

Port A Low Byte Multiple Function Control Register
address_offset : 0x30 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PA_L_MFP PA_L_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PA0_MFP PA1_MFP PA2_MFP PA3_MFP PA4_MFP PA5_MFP PA6_MFP PA7_MFP

PA0_MFP : PA.0 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PA1_MFP : PA.1 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PA2_MFP : PA.2 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PA3_MFP : PA.3 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PA4_MFP : PA.4 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PA5_MFP : PA.5 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PA6_MFP : PA.6 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PA7_MFP : PA.7 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PA_H_MFP

Port A High Byte Multiple Function Control Register
address_offset : 0x34 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PA_H_MFP PA_H_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PA8_MFP PA9_MFP PA10_MFP PA11_MFP PA12_MFP PA13_MFP PA14_MFP PA15_MFP

PA8_MFP : PA.8 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PA9_MFP : PA.9 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PA10_MFP : PA.10 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PA11_MFP : PA.11 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PA12_MFP : PA.12 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PA13_MFP : PA.13 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PA14_MFP : PA.14 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PA15_MFP : PA.15 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PB_L_MFP

Port B Low Byte Multiple Function Control Register
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PB_L_MFP PB_L_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PB0_MFP PB1_MFP PB2_MFP PB3_MFP PB4_MFP PB5_MFP PB6_MFP PB7_MFP

PB0_MFP : PB.0 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PB1_MFP : PB.1 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PB2_MFP : PB.2 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PB3_MFP : PB.3 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PB4_MFP : PB.4 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PB5_MFP : PB.5 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PB6_MFP : PB.6 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PB7_MFP : PB.7 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PB_H_MFP

Port B High Byte Multiple Function Control Register
address_offset : 0x3C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PB_H_MFP PB_H_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PB8_MFP PB9_MFP PB10_MFP PB11_MFP PB12_MFP PB13_MFP PB14_MFP PB15_MFP

PB8_MFP : PB.8 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PB9_MFP : PB.9 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PB10_MFP : PB.10 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PB11_MFP : PB.11 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PB12_MFP : PB.12 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PB13_MFP : PB.13 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PB14_MFP : PB.14 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PB15_MFP : PB.15 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


RST_SRC

System Reset Source Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

RST_SRC RST_SRC read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RSTS_POR RSTS_PAD RSTS_WDT RSTS_BOD RSTS_SYS RSTS_CPU

RSTS_POR : The RSTS_POR Flag Is Set By The Reset Signal From The Power-On Reset (POR) Module Or Bit CHIP_RST (IPRST_CTL1[0]) To Indicate The Previous Reset Source This bit is cleared by writing 1 to itself.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

No reset from POR or CHIP_RST

#1 : 1

The Power-On Reset (POR) or CHIP_RST had issued the reset signal to reset the system

End of enumeration elements list.

RSTS_PAD : The RSTS_PAD Flag Is Set By The Reset Signal From The /RESET Pin To Indicate The Previous Reset Source This bit is cleared by writing 1 to itself.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

No reset from /RESET pin

#1 : 1

The /RESET pin had issued the reset signal to reset the system

End of enumeration elements list.

RSTS_WDT : The RSTS_WDT Flag Is Set By The Reset Signal From The Watch-Dog Timer Module To Indicate The Previous Reset Source This bit is cleared by writing 1 to itself.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

No reset from Watch-Dog Timer

#1 : 1

The Watch-Dog Timer module had issued the reset signal to reset the system

End of enumeration elements list.

RSTS_BOD : The RSTS_BOD Flag Is Set By The Reset Signal From The Brown-Out-Detected Module To Indicate The Previous Reset Source This bit is cleared by writing 1 to itself.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

No reset from BOD

#1 : 1

The Brown-Out-Detected module had issued the reset signal to reset the system

End of enumeration elements list.

RSTS_SYS : The RSTS_SYS Flag Is Set By The Reset Signal From The Cortex_M0 Kernel To Indicate The Previous Reset Source This bit is cleared by writing 1 to itself.
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

No reset from Cortex_M0

#1 : 1

The Cortex_M0 had issued the reset signal to reset the system by software writing 1 to bit SYSRESTREQ(AIRCR[2], Application Interrupt and Reset Control Register) in system control registers of Cortex_M0 kernel

End of enumeration elements list.

RSTS_CPU : The RSTS_CPU Flag Is Set By Hardware If Software Writes CPU_RST (IPRST_CTL1[1]) 1 To Rest Cortex-M0 CPU Kernel And Flash Memory Controller (FMC) This bit is cleared by writing 1 to itself.
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

No reset from CPU

#1 : 1

The Cortex-M0 CPU kernel and FMC are reset by software setting CPU_RST to 1

End of enumeration elements list.


PC_L_MFP

Port C Low Byte Multiple Function Control Register
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PC_L_MFP PC_L_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PC0_MFP PC1_MFP PC2_MFP PC3_MFP PC4_MFP PC5_MFP PC6_MFP PC7_MFP

PC0_MFP : PC.0 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PC1_MFP : PC.1 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PC2_MFP : PC.2 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PC3_MFP : PC.3 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PC4_MFP : PC.4 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PC5_MFP : PC.5 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PC6_MFP : PC.6 Pin Function Selection\n\n
bits : 24 - 26 (3 bit)
access : read-write

PC7_MFP : PC.7 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PC_H_MFP

Port C High Byte Multiple Function Control Register
address_offset : 0x44 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PC_H_MFP PC_H_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PC8_MFP PC9_MFP PC10_MFP PC11_MFP PC12_MFP PC13_MFP PC14_MFP PC15_MFP

PC8_MFP : PC.8 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PC9_MFP : PC.9 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PC10_MFP : PC.10 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PC11_MFP : PC.11 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PC12_MFP : PC.12 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PC13_MFP : PC.13 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PC14_MFP : PC.14 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PC15_MFP : PC.15 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PD_L_MFP

Port D Low Byte Multiple Function Control Register
address_offset : 0x48 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PD_L_MFP PD_L_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PD0_MFP PD1_MFP PD2_MFP PD3_MFP PD4_MFP PD5_MFP PD6_MFP PD7_MFP

PD0_MFP : PD.0 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PD1_MFP : PD.1 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PD2_MFP : PD.2 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PD3_MFP : PD.3 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PD4_MFP : PD.4 Pin Function Selection\n\n
bits : 16 - 18 (3 bit)
access : read-write

PD5_MFP : PD.5 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PD6_MFP : PD.6 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PD7_MFP : PD.7 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PD_H_MFP

Port D High Byte Multiple Function Control Register
address_offset : 0x4C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PD_H_MFP PD_H_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PD8_MFP PD9_MFP PD10_MFP PD11_MFP PD12_MFP PD13_MFP PD14_MFP PD15_MFP

PD8_MFP : PD.8 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PD9_MFP : PD.9 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PD10_MFP : PD.10 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PD11_MFP : PD.11 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PD12_MFP : PD.12 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PD13_MFP : PD.13 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PD14_MFP : PD.14 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PD15_MFP : PD.15 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PE_L_MFP

Port E Low Byte Multiple Function Control Register
address_offset : 0x50 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PE_L_MFP PE_L_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PE0_MFP PE1_MFP PE2_MFP PE3_MFP PE4_MFP PE5_MFP PE6_MFP PE7_MFP

PE0_MFP : PE.0 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PE1_MFP : PE.1 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PE2_MFP : PE.2 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PE3_MFP : PE.3 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PE4_MFP : PE.4 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PE5_MFP : PE.5 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PE6_MFP : PE.6 Pin Function Selection\nAll setting : GPIOE[6]
bits : 24 - 26 (3 bit)
access : read-write

PE7_MFP : PE.7 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PE_H_MFP

Port E High Byte Multiple Function Control Register
address_offset : 0x54 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PE_H_MFP PE_H_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PE8_MFP PE9_MFP PE10_MFP PE11_MFP PE12_MFP PE13_MFP PE14_MFP PE15_MFP

PE8_MFP : PE.8 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PE9_MFP : PE.9 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PE10_MFP : PE.10 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PE11_MFP : PE.11 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PE12_MFP : PE.12 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PE13_MFP : PE.13 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write

PE14_MFP : PE.14 Pin Function Selection\n
bits : 24 - 26 (3 bit)
access : read-write

PE15_MFP : PE.15 Pin Function Selection\n
bits : 28 - 30 (3 bit)
access : read-write


PF_L_MFP

Port F Low Byte Multiple Function Control Register
address_offset : 0x58 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

PF_L_MFP PF_L_MFP read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PF0_MFP PF1_MFP PF2_MFP PF3_MFP PF4_MFP PF5_MFP

PF0_MFP : PF.0 Pin Function Selection\n
bits : 0 - 2 (3 bit)
access : read-write

PF1_MFP : PF.1 Pin Function Selection\n
bits : 4 - 6 (3 bit)
access : read-write

PF2_MFP : PF.2 Pin Function Selection\n
bits : 8 - 10 (3 bit)
access : read-write

PF3_MFP : PF.3 Pin Function Selection\n
bits : 12 - 14 (3 bit)
access : read-write

PF4_MFP : PF.4 Pin Function Selection\n
bits : 16 - 18 (3 bit)
access : read-write

PF5_MFP : PF.5 Pin Function Selection\n
bits : 20 - 22 (3 bit)
access : read-write


PORCTL

Power-On-reset Controller Register
address_offset : 0x60 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

POR_DIS_CODE : Power-On Reset Enable Control\nThis is a protected register. Please refer to open lock sequence to program it.\nWhen powered on, the POR circuit generates a reset signal to reset the whole chip function, but noise on the power may cause the POR active again. If setting the POR_DIS_CODE to 0x5AA5, the POR reset function will be disabled and the POR function will be active again when POR_DIS_CODE is set to another value or POR_DIS_CODE is reset by chip other reset functions, including: /RESET, Watchdog Timer reset, BOD reset, ICE reset command and the software-chip reset function
bits : 0 - 15 (16 bit)
access : read-write


BODCTL

Brown-out Detector Control Register
address_offset : 0x64 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

BODCTL BODCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BOD17_EN BOD20_EN BOD25_EN BOD17_RST_EN BOD20_RST_EN BOD25_RST_EN BOD17_INT_EN BOD20_INT_EN BOD25_INT_EN

BOD17_EN : Brown-Out Detector 1.7V Function Enable \n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Brown-out Detector 1.7V function Disabled

#1 : 1

Brown-out Detector 1.7V function Enabled

End of enumeration elements list.

BOD20_EN : Brown-Out Detector 2.0 V Function Enable \nThis is a protected register. Please refer to open lock sequence to program it.\nBOD20_EN is default on. If SW disables it, Brown-out Detector 2.0 V function is not disabled until chip enters power-down mode. If system is not in power-down mode, BOD20_EN will be enabled by hardware automatically.
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Brown-out Detector 2.0 V function Disabled

#1 : 1

Brown-out Detector 2.0 V function Enabled

End of enumeration elements list.

BOD25_EN : Brown-Out Detector 2.5 V Function Enable \nThis is a protected register. Please refer to open lock sequence to program it.\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Brown-out Detector 2.5 V function Disabled

#1 : 1

Brown-out Detector 2.5 V function Enabled

End of enumeration elements list.

BOD17_RST_EN : BOD 1.7 V Reset Enable\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Reset does not issue when BOD17 occurs

#1 : 1

Reset issues when BOD17 occurs

End of enumeration elements list.

BOD20_RST_EN : BOD 2.0 V Reset Enable\nThis is a protected register. Please refer to open lock sequence to program it.\nThe default value is set by flash controller user configuration register config0 bit[20:19]
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Reset does not issue when BOD20 occurs

#1 : 1

Reset issues when BOD20 occurs

End of enumeration elements list.

BOD25_RST_EN : BOD 2.5 V Reset Enable\nThis is a protected register. Please refer to open lock sequence to program it.\nThe default value is set by flash controller user configuration register config0 bit[20:19]
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Reset does not issue when BOD25 occurs

#1 : 1

Reset issues when BOD25 occurs

End of enumeration elements list.

BOD17_INT_EN : BOD 1.7 V Interrupt Enable\nThis is a protected register. Please refer to open lock sequence to program it.\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt does not issue when BOD17 occurs

#1 : 1

Interrupt issues when BOD17 occurs

End of enumeration elements list.

BOD20_INT_EN : BOD 2.0 V Interrupt Enable\nThis is a protected register. Please refer to open lock sequence to program it.\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt does not issue when BOD20 occurs

#1 : 1

Interrupt issues when BOD20 occurs

End of enumeration elements list.

BOD25_INT_EN : BOD 2.5 V Interrupt Enable\nThis is a protected register. Please refer to open lock sequence to program it.\n
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

Interrupt does not issue when BOD25 occurs

#1 : 1

Interrupt issues when BOD25 occurs

End of enumeration elements list.


BODSTS

Brown-out Detector Status Register
address_offset : 0x68 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

BODSTS BODSTS read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BOD_INT BOD17_OUT BOD20_OUT BOD25_OUT

BOD_INT : Brown-Out Detector Interrupt Status\nThis bit is cleared by writing 1 to itself.
bits : 0 - 0 (1 bit)
access : read-only

Enumeration:

#0 : 0

Brown-out Detector does not detect any voltage drift at VDD down through or up through the target detected voltage after interrupt is enabled

#1 : 1

When Brown-out Detector detects the VDD is dropped down through the target detected voltage or the VDD is raised up through the target detected voltage and Brown-out interrupt is enabled, this bit will be set to 1

End of enumeration elements list.

BOD17_OUT : Brown-Out Detector Output Status\n
bits : 1 - 1 (1 bit)
access : read-only

Enumeration:

#0 : 0

Brown-out Detector output status is 0. It means the detected voltage is higher than target detected voltage setting

#1 : 1

Brown-out Detector output status is 1. It means the detected voltage is lower than target detected voltage setting (1.7V). If the BOD17_EN is 0 , BOD17 function disabled, this bit always responds 0

End of enumeration elements list.

BOD20_OUT : Brown-Out Detector Output Status\n
bits : 2 - 2 (1 bit)
access : read-only

Enumeration:

#0 : 0

Brown-out Detector output status is 0. It means the detected voltage is higher than target detected voltage setting

#1 : 1

Brown-out Detector output status is 1. It means the detected voltage is lower than target detected voltage setting (2.0 V). If the BOD20_EN is 0 , BOD20 function disabled, this bit always responds 0

End of enumeration elements list.

BOD25_OUT : Brown-Out Detector Output Status\n
bits : 3 - 3 (1 bit)
access : read-only

Enumeration:

#0 : 0

Brown-out Detector output status is 0. It means the detected voltage is higher than target detected voltage setting

#1 : 1

Brown-out Detector output status is 1. It means the detected voltage is lower than target detected voltage setting (2.5 V). If the BOD25_EN is 0 , BOD25 function disabled, this bit always responds 0

End of enumeration elements list.


VREFCTL

Voltage Reference Control Register
address_offset : 0x6C Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

VREFCTL VREFCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BGP_EN REG_EN SEL25 EXT_MODE

BGP_EN : Band-Gap Enable\nThis is a protected register. Please refer to open lock sequence to program it.\nBand-gap is the reference voltage of internal reference voltage. User must enable band-gap if want to enable internal 1.5V or 2.5V reference voltage.\n
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

REG_EN : Regulator Enable\nEnable internal 1.5V or 2.5V reference voltage.\nThis is a protected register. Please refer to open lock sequence to program it.\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

SEL25 : Regulator Output Voltage Selection\nSelect internal reference voltage level.\nThis is a protected register. Please refer to open lock sequence to program it.\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

1.5V

#1 : 1

2.5V

End of enumeration elements list.

EXT_MODE : Regulator External Mode\nThis is a protected register. Please refer to open lock sequence to program it.\nUsers can output regulator output voltage in Vref pin if EXT_MODE is high.\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

No connection with external VREF pin

#1 : 1

Connet to external VREF pin. Connect a 1uF to 10uF capacitor to AVSS will let internal voltage reference be more stable

End of enumeration elements list.


IPRST_CTL1

IP Reset Control Resister 1
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IPRST_CTL1 IPRST_CTL1 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CHIP_RST CPU_RST DMA_RST EBI_RST

CHIP_RST : CHIP One Shot Reset This is a protected register. Please refer to open lock sequence to program it. Setting this bit will reset the whole chip, including CPU kernel and all peripherals like power-on reset and this bit will automatically return to 0 after the 2 clock cycles. The chip setting from flash will be also reloaded when chip one shot reset. Note: In the following condition, chip setting from flash will be reloaded The Power-On Reset Brown-Out-Detected Reset The low level on the /RESET pin Set CHIP_RST(IPRST_CTL1[0])
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal

#1 : 1

Reset CHIP

End of enumeration elements list.

CPU_RST : CPU Kernel One Shot Reset This is a protected register. Please refer to open lock sequence to program it. Setting this bit will only reset the CPU kernel and Flash Memory Controller(FMC), and this bit will automatically return to 0 after the 2 clock cycles
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal

#1 : 1

Reset CPU

End of enumeration elements list.

DMA_RST : DMA Controller Reset This is a protected register. Please refer to open lock sequence to program it. Set this bit 1 will generate a reset signal to the DMA. SW needs to set this bit to low to release reset signal.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal operation

#1 : 1

DMA IP reset

End of enumeration elements list.

EBI_RST : EBI Controller Reset This is a protected register. Please refer to open lock sequence to program it. Set this bit 1 will generate a reset signal to the EBI. SW needs to set this bit to low to release reset signal.
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal operation

#1 : 1

EBI IP reset

End of enumeration elements list.


IRCTRIMCTL

HIRC Trim Control Register
address_offset : 0x80 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IRCTRIMCTL IRCTRIMCTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TRIM_SEL TRIM_LOOP TRIM_RETRY_CNT

TRIM_SEL : Trim Frequency Selection\n
bits : 0 - 1 (2 bit)
access : read-write

TRIM_LOOP : Trim Calculation Loop\n
bits : 4 - 5 (2 bit)
access : read-write

TRIM_RETRY_CNT : Trim Value Update Limitation Count\n
bits : 6 - 7 (2 bit)
access : read-write


IRCTRIMIEN

HIRC Trim Interrupt Enable Register
address_offset : 0x84 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

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

TRIM_FAIL_IEN : Trim Failure Interrupt Enable\nThis bit controls if an interrupt will be triggered while HIRC trim value update limitation count reached and HIRC frequency still not locked on target frequency set by TRIM_SEL (IRCTRIMCTL[1:0]).\nIf this bit is high and TRIM_FAIL_INT (IRCTRIMINT[1]) is set during auto trim operation, an interrupt will be triggered to notify that HIRC trim value update limitation count was reached.\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

TRIM_FAIL_INT (IRCTRIMINT[1]) status Disabled to trigger an interrupt to CPU

#1 : 1

TRIM_FAIL_INT (IRCTRIMINT[1]) status Enabled to trigger an interrupt to CPU

End of enumeration elements list.

_32K_ERR_IEN : 32.768 KHz Clock Error Interrupt Enable\nThis bit controls if CPU would get an interrupt while 32.768 kHz clock is inaccuracy during auto trim operation.\nIf this bit is high, and 32K_ERR_INT (IRCTRIMINT[2]) is set during auto trim operation, an interrupt will be triggered to notify the 32.768 kHz clock frequency is inaccuracy.\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

32K_ERR_INT (IRCTRIMINT[2]) status Disabled to trigger an interrupt to CPU

#1 : 1

32K_ERR_INT (IRCTRIMINT[2]) status Enabled to trigger an interrupt to CPU

End of enumeration elements list.


IRCTRIMINT

HIRC Trim Interrupt Status Register
address_offset : 0x88 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IRCTRIMINT IRCTRIMINT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FREQ_LOCK TRIM_FAIL_INT _32K_ERR_INT

FREQ_LOCK : HIRC Frequency Lock Status\nThis bit indicates the HIRC frequency lock.\nThis is a status bit and doesn't trigger any interrupt.
bits : 0 - 0 (1 bit)
access : read-write

TRIM_FAIL_INT : Trim Failure Interrupt Status\nThis bit indicates that HIRC trim value update limitation count reached and HIRC clock frequency still doesn't lock. Once this bit is set, the auto trim operation stopped and TRIM_SEL (IRCTRIMCTL[1:0]) will be cleared to 00 by hardware automatically.\nIf this bit is set and TRIM_FAIL_IEN (IRCTRIMIEN[1]) is high, an interrupt will be triggered to notify that HIRC trim value update limitation count was reached. Write 1 to clear this to zero.\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Trim value update limitation count doesn't reach

#1 : 1

Trim value update limitation count reached and HIRC frequency still doesn't lock

End of enumeration elements list.

_32K_ERR_INT : 32.768 KHz Clock Error Interrupt Status\nThis bit indicates that 32.768 kHz clock frequency is inaccuracy. Once this bit is set, the auto trim operation stopped and TRIM_SEL (IRCTRIMCTL[1:0]) will be cleared to 00 by hardware automatically.\nIf this bit is set and 32K_ERR_IEN (IRCTRIMIEN[2]) is high, an interrupt will be triggered to notify the 32.768 kHz clock frequency is inaccuracy. Write 1 to clear this to zero.\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

32.768 kHz clock frequency is accuracy

#1 : 1

32.768 kHz clock frequency is inaccuracy

End of enumeration elements list.


IPRST_CTL2

IP Reset Control Resister 2
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

IPRST_CTL2 IPRST_CTL2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GPIO_RST TMR0_RST TMR1_RST TMR2_RST TMR3_RST I2C0_RST I2C1_RST SPI0_RST SPI1_RST SPI2_RST UART0_RST UART1_RST PWM0_RST PWM1_RST USBD_RST ADC_RST I2S_RST SC0_RST SC1_RST

GPIO_RST : GPIO Controller Reset\n
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

GPIO normal operation

#1 : 1

GPIO reset

End of enumeration elements list.

TMR0_RST : Timer0 Controller Reset\n
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Timer0 normal operation

#1 : 1

Timer0 reset

End of enumeration elements list.

TMR1_RST : Timer1 Controller Reset\n
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Timer1 normal operation

#1 : 1

Timer1 block reset

End of enumeration elements list.

TMR2_RST : Timer2 Controller Reset\n
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Timer2 normal operation

#1 : 1

Timer2 block reset

End of enumeration elements list.

TMR3_RST : Timer3 Controller Reset\n
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Timer3 normal operation

#1 : 1

Timer3 block reset

End of enumeration elements list.

I2C0_RST : I2C0 Controller Reset\n
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

I2C0 normal operation

#1 : 1

I2C0 block reset

End of enumeration elements list.

I2C1_RST : I2C1 Controller Reset\n
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

I2C1 block normal operation

#1 : 1

I2C1 block reset

End of enumeration elements list.

SPI0_RST : SPI0 Controller Reset\n
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

SPI0 block normal operation

#1 : 1

SPI0 block reset

End of enumeration elements list.

SPI1_RST : SPI1 Controller Reset\n
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

SPI1 normal operation

#1 : 1

SPI1 block reset

End of enumeration elements list.

SPI2_RST : SPI2 Controller Reset\n
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

SPI2 normal operation

#1 : 1

SPI2 block reset

End of enumeration elements list.

UART0_RST : UART0 Controller Reset\n
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

UART0 normal operation

#1 : 1

UART0 block reset

End of enumeration elements list.

UART1_RST : UART1 Controller Reset\n
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

UART1 normal operation

#1 : 1

UART1 block reset

End of enumeration elements list.

PWM0_RST : PWM0 Controller Reset\n
bits : 20 - 20 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM0 block normal operation

#1 : 1

PWM0 block reset

End of enumeration elements list.

PWM1_RST : PWM1 Controller Reset\n
bits : 21 - 21 (1 bit)
access : read-write

Enumeration:

#0 : 0

PWM1 block normal operation

#1 : 1

PWM1 block reset

End of enumeration elements list.

USBD_RST : USB Device Controller Reset\n
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

#0 : 0

USB block normal operation

#1 : 1

USB block reset

End of enumeration elements list.

ADC_RST : ADC Controller Reset\n
bits : 28 - 28 (1 bit)
access : read-write

Enumeration:

#0 : 0

ADC block normal operation

#1 : 1

ADC block reset

End of enumeration elements list.

I2S_RST : I2S Controller Reset\n
bits : 29 - 29 (1 bit)
access : read-write

Enumeration:

#0 : 0

I2S block normal operation

#1 : 1

I2S block reset

End of enumeration elements list.

SC0_RST : SC 0 Controller Reset\n
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

SC block normal operation

#1 : 1

SC block reset

End of enumeration elements list.

SC1_RST : SC 1 Controller Reset\n
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

SC block normal operation

#1 : 1

SC block reset

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 EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.