CMS32L051 User Manual |Chapter 26 Option Byte
www.mcu.com.cn 686 / 703
Chapter 26 Option Byte
26.1 Function of option byte
CMS32L051's flash memory 000C0H~000C3H, 500004H is the option byte area.
Option bytes consist of user option bytes (000C0H~000C2H) and flash data protection option bytes
(000C3H, 500004H). When the power is turned on or reset starts, the specified function is automatically set by
referring to the option byte. When using this product, the following functions must be set by option bytes. For
bits that do not have a configured feature, you cannot change the initial value.
Note Regardless of whether or not to use each feature, the option byte must be set.
26.1.1 User option bytes (000C0H~000C2H)
(1) 000C0H
⚫ Operation of the watchdog timer
-
Allow or disallow the operation of the counter.
-
Allow or stop the operation of the counter in sleep/deep sleep mode.
⚫ The setting of the overflow time of the watchdog timer
-
The watchdog timer is set during the window open
⚫ The setting of the interval interrupt of the watchdog timer
-
Use or do not use interval interrupts.
(2) 000C1H
⚫ Setting of the LVD operating mode
-
Interrupt & reset mode
-
Reset mode
-
Interrupt mode
-
The LVD is OFF (using an external reset input from the RESETB pin).
⚫ Setting of the LVD detection level (VLVDH, VLVDL, VLVD).
Note 1 When the supply voltage rises, the reset state must be maintained by voltage detection circuit or
external reset before the supply voltage reaches the operating voltage range shown in the AC characteristics of
the data sheet; When the supply voltage drops, it must be reset through deep sleep mode transfer, voltage
detection circuitry, or external reset before the supply voltage drops below the operating voltage range.
The operating voltage range depends on the setting of the user option byte (000C2H).
(3) 000C2H
⚫ Frequency setting of the high-speed internal oscillator
-
Choose from 1MHz to 32MHz, 48MHz, 64MHz.