SN8P2318 Series
C-type LCD, RFC 8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 100
Version 1.5
9.4 RFCM REGISTER
0A6H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RFCM
RFCENB
-
0
1
RFCOUT
RFCH2
RFCH1
RFCH0
Read/Write
R/W
-
W
W
R/W
R/W
R/W
R/W
After reset
0
-
0
0
0
0
0
0
Bit 7
RFCENB:
RFC function control bit.
0 = Disable RFC function.
1 = Enable RFC function.
Bit 5
RFCM.5 must be set as
“0” by program.
Bit 4
RFCM.4 must be set as
“1” by program.
Bit 3
RFCOUT:
RFC output control bit.
0 = Disable RFC output, P1.6 is general purpose I/O.
1 = Enable RFC output, P1.6 is RFCOUT pin.
Bit[2:0]
RFCH[2:0]:
RFC input channels select bit.
000 = Select RFC0 channel. Disable P1.0 GPIO function. P1.1, P1.2, P1.3, P1.4 are GPIO mode.
001 = Select RFC1 channel. Disable P1.1 GPIO function. P1.0, P1.2, P1.3, P1.4 are GPIO mode.
010 = Select RFC2 channel. Disable P1.2 GPIO function. P1.0, P1.1, P1.3, P1.4 are GPIO mode.
011 = Select RFC3 channel. Disable P1.3 GPIO function. P1.0, P1.1, P1.2, P1.4 are GPIO mode.
100 = Select RFC4 channel. Disable P1.4 GPIO function. P1.0, P1.1, P1.2, P1.3 are GPIO mode.
101~111 = Reserved. P1.0, P1.1, P1.2, P1.3, P1.4 are GPIO mode.
Note:
1. Before RFC enable, P1.0~P1.4 must be set as input mode without pull-up resistor first by
program.
2. RFCM.4 must be set as
“1” by program through MOV/B0MOV instruction because the bit is write
only type.
3. RFCM.5 must be set as
“0” by program through MOV/B0MOV instruction because the bit is write
only type.
4. We strongly recommend controlling RFCM register through MOV/B0MOV instructions.