8-bit CPU core
Simplified instruction set, 8-level deep hardware stack
The CPU has dual clocks and can switch between high/low frequency clocks in the system
Under the high-frequency clock of the system, the FCPU can be configured as FHOSC with 4/8/16/32/64/128/256 frequency division
Under the low-frequency clock of the system, the FCPU is fixed to FLOSC with a frequency division of 2
Program memory
2K × 16 bit OTP type program memory, which can read program memory contents through indirect addressing
Data storage: 256 byte SRAM type general-purpose data storage, supporting multiple addressing methods such as direct addressing and indirect addressing
2 groups with a total of 14 I/O ports P0 (P00~P05), P1 (P10~P17)
All ports support Schmitt input and push-pull output
P00/P01/P13 can choose push-pull or open drain output, and support 5V tolerance. P13 can be reused as an external reset RST input and programmed as a high-voltage VPP input
P00/P01 can be reused as external clock oscillator input/output
All ports are equipped with built-in pull-up and pull-down resistors, which can be individually enabled
P16/P17 are high current ports with 4 selectable output currents, while the other ports have 2 selectable output currents. Among them, P00 supports high current output with current injection
P11/P12 can be reused as external interrupt inputs and support external interrupt wake-up function
All ports of P1 support keyboard interrupt wake-up function and can be individually enabled
Internal self oscillating watchdog counter (WDT)
Overflow time can be configured: 16ms/64ms/256ms/1024ms/2048ms/408ms/4096ms
Configurable working modes: always on, always off, and off in low-power mode