C8051F005-TB Silicon Laboratories Inc, C8051F005-TB Datasheet - Page 139

no-image

C8051F005-TB

Manufacturer Part Number
C8051F005-TB
Description
BOARD PROTOTYPING W/C8051F005
Manufacturer
Silicon Laboratories Inc
Type
MCUr
Datasheets

Specifications of C8051F005-TB

Contents
Board
Data Bus Width
8 bit
Silicon Manufacturer
Silicon Laboratories
Core Architecture
8051
Silicon Family Name
C8051F00x
Kit Contents
Board
Features
JTAG Connector, Debug Adapter Interface, Analog I/O Configuration
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F005
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Setting the TR0 bit (TCON.4) enables the timer when either GATE0 (TMOD.3) is 0 or the input signal /INT0 is
logic-level one. Setting GATE0 to logic 1 allows the timer to be controlled by the external input signal /INT0,
facilitating pulse width measurements.
Setting TR0 does not reset the timer register. The timer register should be initialized to the desired value before
enabling the timer.
TL1 and TH1 form the 13-bit register for Timer 1 in the same manner as described above for TL0 and TH0. Timer
1 is configured and controlled using the relevant TCON and TMOD bits just as with Timer 0.
19.1.2. Mode 1: 16-bit Counter/Timer
Mode 1 operation is the same as Mode 0, except that the counter/timer registers use all 16 bits. The counter/timers
are enabled and configured in Mode 1 in the same manner as for Mode 0.
139
C8051F000/1/2/5/6/7
C8051F010/1/2/5/6/7
SYSCLK
/INT0
T0
GATE0
TR0
Crossbar
Crossbar
12
TR0
0
1
0
1
1
1
X = Don’t Care
Figure 19.1. T0 Mode 0 Block Diagram
CKCON
M
T
2
0
1
M
T
1
GATE0
M
T
0
X
0
1
1
G
A
T
E
1
Rev. 1.7
C
T
/INT0
1
/
M
T
1
1
TMOD
X
X
0
1
M
T
1
0
TCLK
G
A
T
E
0
C
T
0
/
M
T
0
1
M
T
0
0
(5 bits)
Counter/Timer
TL0
Disabled
Disabled
Enabled
Enabled
(8 bits)
TH0
TR1
TR0
TF1
TF0
IE1
IE0
IT1
IT0
Interrupt

Related parts for C8051F005-TB