MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 76

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
the counter to be preset to $FFF8 regardless of the data written. This preset capability is intended
only for factory testing.
Because its width is 16 bits, the value in the free running counter repeats every 65,536 counts
(prescaler timeouts). When the count changes from $FFFF to $0000 the timer overflow flag bit
(TOxF), in the TFLG2 register, is set. A timer overflow interrupt can be enabled by setting its interrupt
enable bit (TOxI), in the TMSK2 register.
6.4.2
READ:
WRITE:
TEDGB, TEDGA — Timer External Clock Edge Select
Note:
MOTOROLA
6-6
Prescaler Register (TPRE)
RESET:
Any time.
If SMOD = 0, may be written only once during the first 64 cycles. After this time, the bits
become read-only. If SMOD = 1, writing is always permitted.
These two bits determine which edge(s) of the external clock will cause timer counter 2
to increment. The external clock comes in via Port J, bit 0.
the maximum frequency of the input clock must be less than E/2 when counting on
only rising or falling edges and must be less than E/4 when counting on both edges.
$1058
TEDGB
TEDGB
0
0
1
1
7
0
TEDGA
6
0
TEDGA
PR2B
0
1
0
1
PROGRAMMABLE TIMER
5
0
PR2A
4
0
3
0
0
Configuration
Counter 2 uses the internal clock and
prescaler
Count on rising edges only
Count on falling edges only
Count on any edge (rising or falling)
2
0
0
PR1B
1
0
PR1A
0
0
TPRE
MC68HC11G5

Related parts for MC68HC711G5