APPENDIX A LIST OF I/O REGISTERS
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
AP-A-33
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
RTC Month
Register
(RTC_MONTH)
0x300a08
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
RTCMOH
RTC 10-month counter
0 to 1
X (
*
) R/W
D3–0 RTCMOL[3:0] RTC 1-month counter
0 to 9
X (
*
) R/W
RTC Year
Register
(RTC_YEAR)
0x300a09
(8 bits)
D7–4 RTCYH[3:0] RTC 10-year counter
0 to 9
X (
*
) R/W
D3–0 RTCYL[3:0] RTC 1-year counter
0 to 9
X (
*
) R/W
RTC Days of
Week Register
(RTC_WEEK)
0x300a0a
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2–0 RTCWK[2:0] RTC days of week counter
RTCWK[2:0]
Days of week X (
*
) R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
–
Saturday
Friday
Thursday
Wednesday
Tuesday
Monday
Sunday
RTC Wakeup
Configuration
Register
(RTC_WAKEUP)
0x300a0f
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
WUP_CTL WAKEUP control
1 Active
0 Inactive
X (0) R/W
D0
WUP_POL WAKEUP polarity select
1 Active low
0 Active high X (0) R/W
Init.: ( ) indicates the value set after a software reset (RTCRST
→
1
→
0) is performed.
*
Software reset (RTCRST
→
1
→
0) does not affect the counter values. This register retains the value set before a software reset is
performed.
0x300b00–0x300b0f
BBRAM
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
BBRAM byte 0
–byte 15
(BBRAM_0
–BBRAM_15)
0x300b00
|
0x300b0f
(8 bits)
D7–0 –
BBRAM byte data
0x0 to 0xff
X
R/W
0x300c00–0x300c9f
USB Function Controller (USB)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
MainIntStat
(Main interrupt
status)
0x300c00
(8 bits)
D7
SIE_IntStat
1 SIE interrupts
0 None
0
R
D6
EPrIntStat
1 EPr interrupts
0 None
0
R
D5
DMA_IntStat
1 DMA interrupts
0 None
0
R
D4
FIFO_IntStat
1 FIFO interrupts
0 None
0
R
D3–2 –
–
–
–
0 when being read.
D1
EP0IntStat
1 EP0 interrupts
0 None
0
R
D0
RcvEP0SETUP
1 Receive EP0 SETUP
0 None
0
R(W)
SIE_IntStat
(SIE interrupt
status)
0x300c01
(8 bits)
D7
VBUS_Changed
1 VBUS is changed
0 None
0
R(W)
D6
NonJ
1 Detect non J state
0 None
0
R(W)
D5
DetectReset
1 Detect USB reset
0 None
0
R(W)
D4
DetectSuspend
1 Detect USB suspend
0 None
0
R(W)
D3
RcvSOF
1 Receive SOF token
0 None
0
R(W)
D2
DetectJ
1 Detect J state
0 None
0
R(W)
D1
–
–
–
–
0 when being read.
D0
SetAddressCmp
1 AutoSetAddress complete 0 None
0
R(W)
EPrIntStat
(EPr interrupt
status)
0x300c02
(8 bits)
D7–4 –
–
–
–
0 when being read.
D3
EPdIntStat
1 EPd interrupt
0 None
0
R
D2
EPcIntStat
1 EPc interrupt
0 None
0
R
D1
EPbIntStat
1 EPb interrupt
0 None
0
R
D0
EPaIntStat
1 EPa interrupt
0 None
0
R
DMA_IntStat
(DMA interrupt
status)
0x300c03
(8 bits)
D7–2 –
–
–
–
0 when being read.
D1
DMA_CountUp
1 DMA counter overflow
0 None
0
R(W)
D0
DMA_Cmp
1 DMA complete
0 None
0
R(W)
FIFO_IntStat
(FIFO interrupt
status)
0x300c04
(8 bits)
D7
DescriptorCmp
1 Descriptor complete
0 None
0
R(W)
D6–2 –
–
–
–
0 when being read.
D1
FIFO_IN_Cmp
1 IN FIFO Complete
0 None
0
R(W)
D0
FIFO_OUT_Cmp
1 OUT FIFO complete
0 None
0
R(W)
EP0IntStat
(EP0 interrupt
status)
0x300c07
(8 bits)
D7–6 –
–
–
–
0 when being read.
D5
IN_TranACK
1 In transaction ACK
0 None
0
R(W)
D4
OUT_TranACK
1 Out transaction ACK
0 None
0
R(W)
D3
IN_TranNAK
1 In transaction NAK
0 None
0
R(W)
D2
OUT_TranNAK
1 Out transaction NAK
0 None
0
R(W)
D1
IN_TranErr
1 In transaction error
0 None
0
R(W)
D0
OUT_TranErr
1 Out transaction error
0 None
0
R(W)