II-ii
EPSON
S1C6S2N7 TECHNICAL SOFTWARE
CONTENTS
3.4
I/O Ports ........................................................................ II-24
I/O port memory map ............................................. II-24
Control of the I/O port ............................................ II-25
Examples of I/O port control program ..................... II-26
3.5
LCD Driver ..................................................................... II-29
LCD driver memory map ......................................... II-29
Control of the LCD driver ........................................ II-30
Examples of LCD driver control program ................. II-32
3.6
Timer ............................................................................. II-34
Timer memory map ................................................. II-34
Control of the timer ................................................. II-35
Examples of timer control program .......................... II-36
3.7
Stopwatch Timer ........................................................... II-38
Stopwatch timer memory map ................................. II-38
Control of the stopwatch timer ................................ II-39
Examples of stopwatch timer control program ......... II-40
3.8
Supply Voltage Detection (SVD) Circuit
and Heavy Load Protection Function ............................ II-42
SVD circuit and heavy load protection
function memory map ............................................. II-42
Control of the SVD circuit ....................................... II-43
Example of SVD circuit control program .................. II-43
Heavy load protection function ................................ II-44
Examples of heavy load protection
function control program ......................................... II-46
3.9
Motor Driver ................................................................... II-49
Motor driver memory map ....................................... II-49
Control of the motor driver ...................................... II-50
Examples of motor driver control program ............... II-50
3.10 Interrupt and Halt ........................................................... II-51
Interrupt memory map ............................................ II-51
Control of interrupts and halt ................................. II-53
Examples of interrupt and halt control program ...... II-63