Philips CEM2100/00 Service Manual page 244

Mini system
Hide thumbs Also See for CEM2100/00:
Table of Contents

Advertisement

11. 8-Bit TimerCounter (TC5, TC6)
11.1 Configuration
The TimerCounter 6 is controlled by the TimerCounter 6 control register (TC6CR) and two 8-bit timer registers
(TTREG6 and PWREG6).
TimerCounter 6 Timer Register
TTREG6
(0017H)
R/W
PWREG6
(001BH)
R/W
Note 1: Do not change the timer register (TTREG6) setting while the timer is running.
Note 2: Do not change the timer register (PWREG6) setting in the operating mode except the 8-bit and 16-bit PWM modes while
the timer is running.
TimerCounter 6 Control Register
TC6CR
(002AH)
TFF6
TFF6
TC6CK
TC6S
TC6M
Note 1: fc: High-frequency clock [Hz] fs: Low-frequency clock [Hz]
Note 2: Do not change the TC6M, TC6CK and TFF6 settings while the timer is running.
Note 3: To stop the timer operation (TC6S= 1 → 0), do not change the TC6M, TC6CK and TFF6 settings.
To start the timer operation (TC6S= 0 → 1), TC6M, TC6CK and TFF6 can be programmed.
Note 4: When TC6M= 1** (upper byte in the 16-bit mode), the source clock becomes the TC5 overflow signal regardless of the
TC6CK setting.
Note 5: To use the TimerCounter in the 16-bit mode, select the operating mode by programming TC6M, where TC5CR<TC5M>
must be set to 011.
7
6
5
4
7
6
5
4
7
6
5
4
TC6CK
Timer F/F6 control
Operating clock selection [Hz]
TC6 start control
TC6M operating mode select
3
2
1
0
3
2
1
0
3
2
1
0
TC6S
TC6M
0:
Clear
1:
Set
NORMAL1/2, IDLE1/2 mode
DV7CK = 0
11
000
fc/2
7
001
fc/2
5
010
fc/2
3
011
fc/2
100
fs
101
fc/2
110
fc
111
0:
Operation stop and counter clear
1:
Operation start
000:
8-bit timer/event counter mode
001:
8-bit programmable divider output (PDO) mode
010:
8-bit pulse width modulation (PWM) output mode
011:
Reserved
100:
16-bit timer/event counter mode
Warm-up counter mode
101:
16-bit pulse width modulation (PWM) output mode
110:
16-bit PPG mode
111:
Page 122
T5CL8
(Initial value: 1111 1111)
(Initial value: 1111 1111)
(Initial value: 0000 0000)
SLOW1/2
SLEEP1/2
DV7CK = 1
mode
3
3
fs/2
fs/2
7
fc/2
5
fc/2
3
fc/2
fs
fs
fc/2
fc
TC6 pin input
R/W
R/W
R/W
R/W

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cem2100Cem2100/98

Table of Contents