Rainbow Electronics W90P710CDG User Manual

Page 458

Advertising
background image

W90P710CD/W90P710CDG

- 458 -

Continued

BITS

DESCRIPTIONS

[10:8]

TOC8,
TOC7,
TOC6

TOC8, TOC7, TOC6 (Time Out Configuration) control 24 bit time-
out counter 2 configuration.

TOC8,
TOC7,
TOC6
value

OPERATION MODE

000 24 bit counter 2 is stopped
001 Counting the value stored in register TOIR 2 is started

after 001b is written in register in register TOC. An
interrupt is given if enabled, and bit TO2 is set within
register SCSR when the terminal count is reached. The
counter is stopped by writing 000b in register TOC, and
should be stopped before reloading new values in
register TOC.

010 Counter 2 starts counting the content of register TOIR2

on the first START bit (reception or transmission)
detected on the pin I/O after 010b is written in register
TOC. When counter 2 reaches its terminal count, an
interrupt is given if enable. Bit TO2 in register SCSR is
set. The counter is reloaded with TOIR2 and starts
counting on each subsequent START bit. It is possible
to change the content of TOIR2 during a count; the
current count will not be affected and the new count
value will be taken into account at the next START bit.
The count is stopped by writing 000b in register TOC,

011 Counter 2 starts counting the content of register TOIR2

on the first START bit (reception or transmission)
detected on the pin I/O after 010b is written in register
TOC. When counter 2 reaches its terminal count, an
interrupt is given if enable. Bit TO2 in register SCSR is
set. The count is stopped by writing 000b in register
TOC,

100 Same as value 000b, except that counter 2 will be

stopped at the end of the 12

th

ETU following the first

START bit detected after 100b has been written in
register TOC

[7]

nDBGACK_EN1

ICE Debug mode Acknowledge enable for time-out counter 1
0 = When DBGACK is high, the timer clock will be held
1= No matter what DBGACK is high or not, the timer clock will not be
held

Advertising