EasyManua.ls Logo

Epson RX8111CE - 14.10. Reading;Writing Data via the I²C-Bus Interface; 14.10.1. Overview of I2 C-Bus

Epson RX8111CE
67 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RX8111CE
Page − 53
ETM61E-01
6) Setting wake-up timer interpunction example
Next processing
Reg − 1A-1C[h]
• write initial data to the Down counter.
Starting count down
• Set TE bit to “1” to start wake-up timer counter.
Be aware that initial data should be pre-set to counter before starting.
Reg-1F[h]
• Set TIE to "1", for interruption output from INT-pin.
• While TSTP is "1", timer countdown doesn't occur.
When TSTP clears by 0, The Countdown timer works again.
TSTP is useful for working time counter of machine, etc.
Wake-up timer setting
• Clear TE bit to “0” to inactivate wake-up timer interruption.
• Set TSEL1, TSEL0 bit combination to count down period (source clock).
• Clear the TF-bit by zero.
Reg-1D[h]
Reg-1E[h]
Figure 43 Example flow (Setting wake-up timer interrupt function)
7) Setting Alarm Example
Next Processing
Reg − 1F[h]
• Set AIE bit to “1”, for outputs Alarm interruption from INT-pin.
Reg-1D[h]
• Specify week alarm or day alarm, by WADA bit.
Reg-1E[h]
• Clear AF-bit by "0".
Alarm setting
• Reset AIE bit to “0” to inactivate alarm interruption.
• Setup Alarm data.
Reg-1F[h]
Reg − 2C[h],17[h] 19[h]
Figure 44 Example flow (Setting alarm interrupt function)

Table of Contents