fs3862 Fortune Semiconductor Corporation, fs3862 Datasheet - Page 15

no-image

fs3862

Manufacturer Part Number
fs3862
Description
8-bit Mcu With 1k Program Eprom, 64-byte Sram, 5-bit I/o Port, Intelligent Charger Management Controller
Manufacturer
Fortune Semiconductor Corporation
Datasheet
Rev. 1.3
The System Special Registers are designed to complete CPU Core functions, and consists of indirect address,
indirect address pointer, status register, work register, interrupt flag, and interrupt control register.
9.3
Address Name
00H
01H
02H
03H
04H
05H
06H
07H
08h~1Fh
80h~BFh
registers actually access the data pointed by the FSR[1:0] registers.
can wake up MCU if MCU is in sleep mode.
9.4
Address Name
08H
09H
0AH
0BH
0CH
10H
11H
12H
13H
14H
15H
The IND[1:0] registers at data memory address are not physical registers. Any instruction using the IND[1:0]
Indirect addressing pointers FSR0 and FSR1 correspond to IND0 and IND1 respectively.
Use contents of FSR0 (IND0: Address 00H) or FSR1 (IND1: Address 01H) to address data memory.
The STATUS register contains the arithmetic status of the ALU.
WORK : Store temporary data.
GIE : Global interrupt enable.
VDDIF, VDDIE : VDD > VBAT Interrupt flag and enable. Used when there is only VBAT and VDD is off.VDDIF
TMIF, TMIE: 8-bit Timer Interrupt flag and enable.
DC: Digit Carry Flag, for ADDWF(C) and SUBWF(C).
C : Carry Flag.(~Borrow)
Z : Zero Flag.
System Special Registers
Peripheral Special Registers
IND0
IND1
FSR0
FSR1
STATUS
WORK
INTF
INTE
POWER ENBGR_
RESULT
CCCTL
CVCTL
CMPSEL
TMOUT
TMCON
LEDCTL
GPIO
0 = No carry-out from the 4th low order bit of the result.
0 = The result of an arithmetic or logic operation is not zero.
1 = A carry-out from the 4th low order bit of the result occurred.
1 = The result of an arithmetic or logic operation is zero.
Bit7
Content ( u mean unknown or unchanged)
ENCCref
Content ( u mean unknown or unchanged)
Use contents of FSR0 to address data memory
Use contents of FSR1 to address data memory
Indirect data memory, address point 0
Indirect data memory, address point 1
WORK register
GIE
Peripheral special registers
General data Memory (64 bytes SRAM)
ENCVref
LED1EN
TRST
-
-
CMPNSEL[2:0]
Bit6
GPIO1OEN GPIO1 GPIO1PU
ENCC
ENCV
LED1
-
-
-
Bit5
LED0EN
-
-
-
-
-
Bit4
For factory use only
LED0
Unimplemented
-
-
-
-
-
TMOUT[7:0]
Bit3
CMPOUT
ENCMP
TMEN
-
-
CMPPSEL[4:0]
Bit2
GPIO2OEN
GPIO0OEN
DC
CURSEL[3:0]
-
-
VOLSEL[3:0]
C
VDDIF
VDDIE
Bit1
INS[2:0]
GPIO2
GPIO0
-
-
Z
TMIF
TMIE
Bit0
GPIO2PU 0000u000
GPIO0PU u000u000
VDDIN
-
Reset
State
uuuuuuuu
uuuuuuuu
uuuuuuuu
uuuuuuuu
uuuuuuuu
uuuuuuuu
00000000
00000000
Reset
State
0uuu0uuu
uuuu0uu0
00uu0000
00uu0000
00000000
00000000
0uuu0000
uuuuuuuu
uuu00000
FS3862
15/32

Related parts for fs3862