English
Language : 

Z86L82 Datasheet, PDF (58/80 Pages) Maxim Integrated Products – 28-Pin Low-Voltage IR Microcontrollers
Z86L82/85/88
28-Pin Low-Voltage IR Microcontrollers
51
TC16H*256+TC16L Counts
Counter Enable Command,
T16_OUT switches to its
initial value (CTR1 D0)
T16_OUT toggles
Time-out Interrupt
Figure 39. T16_OUT in Single-Pass Mode
TC16H*256+TCl16
TC16H*256+TCl16
T16_OUT
TC16H*256+TCl16
Counter Enable Command, T16_OUT Toggles, T16_OUT Toggles,
T16_OUT switches to its Time-out Interrupt Time-out Interrupt
initial value (CTR1 D0)
Figure 40. T16_OUT in Modulo-N Mode
You can modify the values in TC16H and TC16L at any time. The new values take
effect when they are loaded. To ensure known operation, do not load these regis-
ters at the time the values are to be loaded into the counter/timer. An initial count
of 1 is not allowed. An initial count of 0 causes T16 to count from 0 to FFFFh to
FFFEh. Transition from 0 to FFFFh is not a time-out condition.
T16 Demodulation Mode
You need to program TC16L and TC16H to FFh. After T16 is enabled and the first
edge (rising, falling, or both, depending on CTR1 D5, D4) is detected, T16 cap-
tures HI16 and LO16, reloads, and begins counting.
If D6 of CTR2 Is 0
When a subsequent edge (rising, falling, or both, depending on CTR1 D5, D4) is
detected during counting, the current count in T16 is one's complemented and put
into HI16 and LO16. When data is captured, one of the edge-detect status bits
(CTR1 D1, D0) is set, and an interrupt is generated if enabled (CTR2 D2). From
that point, T16 is loaded with FFFFh and starts again.
This T16 mode is generally used to measure space time, the length of time
between bursts of carrier signal (marks).
PS009007-1202