CP2400DK Silicon Laboratories Inc, CP2400DK Datasheet - Page 92
CP2400DK
Manufacturer Part Number
CP2400DK
Description
KIT EVAL SPI LCD DRIVER CP2400
Manufacturer
Silicon Laboratories Inc
Specifications of CP2400DK
Main Purpose
LCD Development
Embedded
Yes
Utilized Ic / Part
CP2400
Primary Attributes
I²C, SMBus Interfaces
Secondary Attributes
Up to 128 segments
Product
Microcontroller Modules
Core Processor
C8051F930
Clock Speed
20 MHz
Interface Type
SPI
Timers
2
Operating Supply Voltage
1.8 V to 3.6 V
Cpu Core
C8051F930
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
336-1858
336-1858
336-1858
CP2400/1/2/3
13. Timers
CP2400/1/2/3 devices include two 16-bit auto-reload timers. These timers can be used to measure time intervals
and generate periodic interrupt requests. Both timers can be clocked from the system clock source divided by 12.
Timer 1 has an additional SmaRTClock divided by 8 input and capture mode that can be used to measure the
SmaRTClock oscillation frequency with respect to the system clock. When SMBus SCL low timeout is enabled,
Timer 0 becomes unavailable for general purpose use. Timer 0 is enabled on reset.
13.1. Timer 0
Timer 0 is a 16-bit timer formed by two 8-bit SFRs: TMR0L (low byte) and TMR0H (high byte). Timer 0 operates in
16-bit auto-reload mode and is clocked by the system clock divided by 12. As the 16-bit timer register increments
and overflows from 0xFFFF to 0x0000, the 16-bit value in the Timer 0 reload registers (TMR0RLH and TMR0RLL)
is loaded into the Timer 0 register as shown in Figure 13.1, and the Timer 0 Overflow Flag (INT1.2) is set. If
Timer 0 interrupts are enabled (if INT1EN.2 is set), an interrupt will be generated on each Timer 0 overflow.
Additionally, if Timer 0 interrupts are enabled and the TF0LEN bit is set (TMR0CN.5), an interrupt will be generated
each time the lower 8 bits (TMR0L) overflow from 0xFF to 0x00.
92
S Y S C LK / 12
T R 0
Figure 13.1. Timer 0 Block Diagram
Rev. 1.0
T M R 0R LL T M R 0R L H
T M R 0L
Lo w B yte
O verflo w
T M R 0H
R e loa d
T o S M B us
T o Interrup t