System control determines the overall operation of the device. It provides information about the device, controls the clocki for the core and individual peripherals, and handles reset detection and report.
More...
Modules |
| | xSysCtl |
| | CoX SysCtl Peripheral Interface.
|
Detailed Description
System control determines the overall operation of the device. It provides information about the device, controls the clocki for the core and individual peripherals, and handles reset detection and report.
- Configure system clock, multiple clock sources can be selected(including Main Oscillator (MOSC), Internal Oscillator (IOSC), Internal 30-kHz Oscillat or,External Real-Time Oscillator).
- Reset or enable/disable the peripheral individually thourgh software.
- Configure system operation level,including Run Mode and Sleep Mode.
Contents
1. SysCtl Function Desc
1.1 Device Identification
Several read-only registers provide software with information on the microcontroller, such as version, part number, SRAM size, flash size, and other features.
1.2 Reset Control
The controller has five sources of reset :
- External reset input pin (RST) assertion
- Power-on reset (POR)
- Internal brown-out (BOR) detector
- Software-initiated reset (with the software reset registers)
- A watchdog timer reset condition violation
1.3 Clock Control
1.3.1 Main clock tree:
1.3.2 Clock Sources
There are multiple clock sources for use in the device:
- Internal Oscillator (IOSC).
- Main Oscillator (MOSC).
- Internal 30-kHz Oscillator.
- External Real-Time Oscillator.
1.3.3 Clock Configuration
- Source of clocks in sleep and deep-sleep modes
- System clock derived from PLL or other clock source
- Enabling/disabling of oscillators and PLL
- Clock divisors
- Crystal input selection
1.5 System Control
There are four levels of operation for the device defined as:
- Run Mode
- Sleep Mode
- Deep-Sleep Mode
- Hibernate Mode
2. SysCtl Applications
add in the future
- Note:
- Here describes the common functions of the SysCtl Peripheral. The CoX Peripheral Interface is based on the functions above.