DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

GL603USB データシートの表示(PDF) - Genesys Logic

部品番号
コンポーネント説明
メーカー
GL603USB
Genesys-Logic
Genesys Logic Genesys-Logic
GL603USB Datasheet PDF : 41 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
GL603USB/GL603USB-A/GL603USB-B
06h
PORT1
Port 1 data register
07h
PORT2
Port 2 data register
0Ah
PCHBUF
Write buffer of Program Counter’s bit 10-8
0Bh
INTEN
Interrupt enable register
0Dh
PHVAL
Photo-sensor value register
0Eh
PHSEL
Photo-sensor input select register
0Fh
DMODE
Photo-sensor input mode register
80h
INDR
Addressing this location will use the content of INDAR to address data
memory (not a physical address)
81h
PSCON
Prescaler control register
82h
PCL
Program Counter’s low byte
83h
STATUS
Status register
84h
INDAR
Indirect address register
86h
PORT1CON
Port 1 direction control register
87h
PORT2CON
Port 2 direction control register
8Ah
PCHBUF
Write buffer of Program Counter’s bit 10-8
8Bh
INTEN
Interrupt enable register
Table 4-2 MCU Function Register Summary
INDR (Address 00h/80h)
INDR is not a physical register. Addressing INDR register will cause indirect addressing. Any instruction
using the INDF register actually accesses the register pointed by the INDAR register.The indirect
addressing method only can be used for general purpose registers.
TIMER (Address 01h, Timer register)
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
TIMER7 TIMER6 TIMER5 TIMER4 TIMER3 TIMER2 TIMER1 TIMER0
The timer starts to count up after power on reset. The TMROF bit at INTEN register will be set when the
TIMER register overflows from FFh to 00h. If both TMROEN and GIE bits at INTEN register are set, an
interrupt will be generated when TIMER register overflows.
Value on POR: “0 0 0 0 0 0 0 0”
PCL (Address 02h/82h, Program Counter’s low byte)
R/W
R/W
R/W
R/W
PCL7
PCL6
PCL5
PCL4
R/W
PCL3
R/W
PCL2
R/W
PCL1
R/W
PCL0
The Program Counter (PC) is 11-bit wide. The low byte comes from the PCL register, which is a readable
and writable register. The high byte is not directly readable or writable and comes from PCHBUF. The
GL603USB has a 4 level deep x 11-bit wide hardware stake. The stake space is not part of either program
or data space and the stack pointer is not readable or writable. The PC is pushed onto the stack when a
CALL instruction is executed or an interrupt causes a branch. The stack is poped in the event of a RETIA,
RETI or a RET instruction execution. PCHBUF is not affected by a push or pop operation.
When write to PCL command executed, all 3 bits of PCHBUF will be loaded to PC because PCL is only a
8 bits register.
Value on POR: “0 0 0 0 0 0 0 0”
Status (Address 03h, Status register)
R/W
R/W
R/W
R/W
BS
ZO
HC
CA
BS: Bank Select. Because only 7 bits (bit 0~bit 6) operand implied by instruction for register address, this
bit is used as address bit 7 when register access.
1: Bank 1 (80h-FFh)
17
09/22/00
Revision 1.4

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]