Datasheet
FS98O22
Rev. 1.6 58/146
6.3. Dual 16-bit Programmable Counter
Address Name Content ( u mean unknown or unchanged) Reset State
07H INTE GIE - - - - - 00000000
16H INTF2 CTIF - - 00000000
17H INTE2 CTIE - - 00000000
08H CTAH CTA[15:8] uuuuuuuu
09H CTAL CTA[7:0] uuuuuuuu
0AH CTBH CTB[15:8] uuuuuuuu
0BH CTBL CTB[7:0] uuuuuuuu
0CH CTCON TON MUXSEL[2:0] TE FQTMB OVAB 0000000u
2BH PT3MR PFOEN - - 00000000
Figure 6-3 Programmable Counter Working block diagram
FS98O22 embeds Dual 16-bit Programmable Counter. It could be used under three working modes: Counter
mode, Pulse Width Measurement mode and Frequency Measurement mode. Users could setup MUXSEL[2]
and FQTMB register flags to deice the working mode.
Table 6-10 Programmable Counter working mode selection table
Working mode MUXSEL[2] FQTMB
Counter mode 0 0
Pulse Width Measurement mode 1 0
Frequency Measurement mode 0 1
NONE 1 1
FORTUNE'
Properties
For Reference Only