BS2824 Holtek Semiconductor Inc., BS2824 Datasheet - Page 24

no-image

BS2824

Manufacturer Part Number
BS2824
Description
Touch Key Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
BS2824/BS2854/BS2868
Touch Key MCU
Rev. 1.00
System Control Registers - CTRL0, CTRL1, CTRL2
CTRL0 Register
These registers are used to provide control over various internal functions. Some of these include the
PFD control, PWM control, certain system clock options, the LXT Oscillator low power control,
external Interrupt edge trigger type, Watchdog Timer enable function, Time Base function division
ratio, and the LXT oscillator enable control.
BS2824
BS2854
Bit 7
Bit 6
Bit 5~3
Bit 2
Bit 1
Bit 0
Bit 7~4
Bit 3,2
Bit 1
Bit 0
Name
Name
POR
POR
R/W
R/W
Bit
Bit
unimplemented, read as 0
PFDCS: PFD clock source
0: timer0
1: timer1
unimplemented, read as 0
PFDC: I/O or PFD
0: I/O
1: PFD
LXTLP: LXT oscillator low power control function
0: LXT Oscillator quick start-up mode
1: LXT Oscillator Low Power Mode
CLKMOD: system clock mode selection.
0: High speed - HIRC used as system clock
1: Low speed - LXT used as system clock, HIRC oscillator stopped.
These selections are only valid if the oscillator configuration options
have selected the HIRC+LXT.
Unimplemented, read as 0
PFDEN1, PFDEN0: PFD/PFD enable/disable
00: both disables
01: Reserved
10: PFD enable
11: PFD and PFD both enabled
when PFD or PFD is disabled, the related pin will have a normal I/O function.
LXTLP: LXT oscillator low power control function
0: LXT Oscillator quick start-up mode
1: LXT Oscillator Low Power Mode
CLKMOD: system clock mode selection.
0: High speed - HIRC used as system clock
1: Low speed - LXT used as system clock, HIRC oscillator stopped.
These selections are only valid if the oscillator configuration options have selected
the HIRC+LXT.
7
7
PFDCS
R/W
6
0
6
5
5
24
4
4
PFDEN1 PFDEN0
R/W
3
3
0
PFDC
R/W
R/W
2
0
2
0
LXTLP
LXTLP
R/W
R/W
1
0
1
0
January 27, 2010
CLKMOD
CLKMOD
R/W
R/W
0
0
0
0

Related parts for BS2824