C8051F040-TB Silicon Laboratories Inc, C8051F040-TB Datasheet - Page 302

BOARD PROTOTYPING W/C8051F040

C8051F040-TB

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

Specifications of C8051F040-TB

Contents
Board
Processor To Be Evaluated
C8051F04x
Interface Type
USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
C8051F040
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
C8051F040/1/2/3/4/5/6/7
300
Bit7-5:
Bit4-3:
Bit2:
Bit1:
Bit0:
SFR Address: TMR2CF:0xC9;TMR3CF:0xC9;TMR4CF:0xC9
SFR Page TMR2CF: page 0;TMR3CF: page 1;TMR4CF: page 2
Bit7
-
Reserved.
TnM1 and TnM0: Timer Clock Mode Select Bits.
Bits used to select the Timer clock source. The sources can be the System Clock
(SYSCLK), SYSCLK divided by 2 or 12, or an external clock signal routed to Tn (port pin)
divided by 8. Clock source is selected as follows:
00: SYSCLK/12
01: SYSCLK
10: EXTERNAL CLOCK/8
11: SYSCLK/2
TOGn: Toggle output state bit.
When timer is used to toggle a port pin, this bit can be used to read the state of the output, or
can be written to in order to force the state of the output.
TnOE: Timer output enable bit.
This bit enables the timer to output a 50% duty cycle output to the timer’s assigned external
port pin.
NOTE: A timer is configured for Square Wave Output as follows:
CP/RLn = 0
C/Tn
TnOE = 1
Load RCAPnH:RCAPnL (See
page
Configure Port Pin for output (See
0: Output of toggle mode not available at Timers’ assigned port pin.
1: Output of toggle mode available at Timers’ assigned port pin.
DCEN: Decrement Enable Bit.
This bit enables the timer to count up or down as determined by the state of TnEX.
0: Timer will count up, regardless of the state of TnEX.
1: Timer will count up or down depending on the state of TnEX as follows:
Bit6
298).
-
SFR Definition 23.9. TMRnCF: Timer n Configuration
= 0
if TnEX = 0, the timer counts DOWN
if TnEX = 1, the timer counts UP.
Bit5
-
TnM1
R/W
Bit4
Section “Equation 23.1. Square Wave Frequency” on
Section “17. Port Input/Output” on page
Rev. 1.5
TnM0
R/W
Bit3
TOGn
R/W
Bit2
TnOE
R/W
Bit1
DCEN
R/W
Bit0
203).
00000000
Addressable
Reset Value
Bit

Related parts for C8051F040-TB