Epson RX-8581JE Applications Manual page 13

Real time clock module
Table of Contents

Advertisement

RX - 8581 SA
JE
/
8.2.4. Extension register (Reg-D)
Address
Extension Register
D
1)
The default value is the value that is read (or is set internally) after powering up from 0 V.
2)
"o" indicates write-protected bits. A zero is always read from these bits.
3)
" " indicates a default value is undefined.
This register is used to specify the target for the alarm function or time update interrupt function and to select or
set operations such as fixed-cycle timer operations.
1) TEST bit
This is the manufacturer's test bit. Its value should always be "0".
Be careful to avoid writing a "1" to this bit when writing to other bits.
If a "1" is inadvertently written to this TEST bit, there is a safety function where by this bit will be automatically cleared to zero when a STOP
condition or Repeated START condition is received or when the 0.95-second bus timeout function operates.
TEST
Write/Read
2) WADA (Week Alarm/Day Alarm) bit
This bit is used to specify either WEEK or DAY as the target of the alarm interrupt function.
Writing a "1" to this bit specifies DAY as the comparison object for the alarm interrupt function.
Writing a "0" to this bit specifies WEEK as the comparison object for the alarm interrupt function.
For details, see "8.5. Alarm Interrupt Function".
3) USEL (Update Interrupt Select) bit
This bit is used to specify either "second update" or "minute update" as the update generation timing of the time
update interrupt function.
Writing a "1" to this bit specifies the internal clock's "minute update" (once per minute) operation as the timing
by which time update interrupts are generated.
Writing a "0" to this bit specifies the internal clock's "second update" (once per second) operation as the timing
by which time update interrupts are generated.
For details, see "8.4. Time Update Interrupt Function".
4) TE (Timer Enable) bit
This bit controls the start/stop setting for the fixed-cycle timer interrupt function.
Writing a "1" to this bit specifies starting of the fixed-cycle timer interrupt function (a countdown starts from a
preset value).
Writing a "0" to this bit specifies stopping of the fixed-cycle timer interrupt function.
For details, see "8.3. Fixed-cycle Timer Interrupt Function".
5) TSEL0,1 (Timer Select 0, 1) bits
The combination of these two bits is used to set the countdown period (source clock) for the fixed-cycle timer
interrupt function (four settings can be made).
TSEL0,1
Write/Read
For details, see "8.3. Fixed-cycle Timer Interrupt Function".
8.2.5. RAM register (Reg - 7)
Address
7
This RAM register is read/write accessible for any data in the range from 00 h to FF h.
NB
/
Function
bit 7
TEST
(Default)
(0)
Data
0
Normal operation mode
1
Setting prohibited (manufacturer's test bit)
TSEL1
TSEL0
(bit 1)
(bit 0)
0
0
0
1
1
0
1
1
Function
bit 7
RAM
bit 6
bit 5
bit 4
WADA
USEL
TE
( )
( )
( )
Description
Source clock
4096 Hz
/Once per 244.14 s
64 Hz
/ Once per 15.625 ms
"Second" update
/Once per second
"Minute" update
/Once per minute
bit 6
bit 5
bit 4
Page - 10
bit 3
bit 2
bit 1
!
!
TSEL1
(0)
(0)
( )
bit 3
bit 2
bit 1
MQ372-02
bit 0
TSEL0
( )
Default
bit 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rx-8581nbRx-8581sa

Table of Contents