
E0C6001 TECHNICAL SOFTWARE
II-22
Table 3.3.3
Mask option and register
selection
• Internal divided frequency output (FOUT)
When output port R00 is set to FOUT output, fosc or clock
frequency divided into fosc is generated. Clock frequency
may be selected individually for F1–F4, from among 5 types
by mask option; a clock frequency is then selected from 4
types (i.e., F1–F4) through XFOUT0 and XFOUT1 (0FDH D0
and D1) registers and is generated.
The clock frequency types are shown in Table 3.3.3.
For example mask option is set to Set 4:
Label
Mnemonic/operand
Comment
LD
Y,0FDH
;
Set address of FOUT
;
frequency control register
LD
MY,0011B
;
Select 16,384 Hz
LD
Y,0F3H
;
Set address of output port
OR
MY,0001B
;
Turn on FOUT
:
:
AND
MY,1110B
;
Turn off FOUT
Mask
Option
Sets
Clock Frequency (Hz)
S e t 4
2 5 6
( f o s c / 1 2 8 )
5 1 2
( f o s c / 6 4 )
1 , 0 2 4
( f o s c / 3 2 )
2 , 0 4 8
( f o s c / 1 6 )
5 1 2
( f o s c / 6 4 )
1 , 0 2 4
( f o s c / 3 2 )
2 , 0 4 8
( f o s c / 1 6 )
8 , 1 9 2
( f o s c / 4 )
1 , 0 2 4
( f o s c / 3 2 )
2 , 0 4 8
( f o s c / 1 6 )
4 , 0 9 6
( f o s c / 8 )
4 , 0 9 6
( f o s c / 8 )
8 , 1 9 2
( f o s c / 4 )
1 6 , 3 8 4
( f o s c / 2 )
4 , 0 9 6
( f o s c / 8 )
3 2 , 7 6 8
( f o s c / 1 )
2 , 0 4 8
( f o s c / 1 6 )
4 , 0 9 6
( f o s c / 8 )
8 , 1 9 2
( f o s c / 4 )
1 6 , 3 8 4
( f o s c / 2 )
S e t 1
S e t 2
S e t 3
S e t 5
(D1,D0)=(0,0)
(D1,D0)=(0,1)
(D1,D0)=(1,0)
(D1,D0)=(1,1)
F1
F2
F3
F4
fosc = 32.768 kHz
Содержание E0C6001
Страница 4: ...Hardware E0C6001 I Technical Hardware ...
Страница 79: ...Software E0C6001 II Technical Software ...