II-ii
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CONTENTS
5.2
OSC3 ..............................................................................
II-25
OSC3 memory map ................................................. II-25
Example of using OSC3 ........................................... II-26
Programming notes ................................................. II-27
5.3
Supply Voltage Detection (SVD) Circuit
and Heavy Load Protection Function .............................
II-28
SVD circuit memory map ........................................ II-28
Example of supply voltage detection
using SVD circuit .................................................... II-28
Example of using heavy load protection function ..... II-33
Programming notes ................................................. II-38
5.4
Output Ports (R00–R03, R10–R13) ...............................
II-40
Output port memory map ....................................... II-40
Example of using output ports ................................ II-42
Programming note ................................................... II-48
5.5
LCD Driver ......................................................................
II-49
Segment data memory map ..................................... II-49
Example of control program
for LCD segment output .......................................... II-50
LCD driver memory map ......................................... II-57
Programming notes ................................................. II-57
5.6
Clock Timer ....................................................................
II-58
Clock timer memory map ........................................ II-58
Example of using clock timer .................................. II-59
Timer interrupt memory map .................................. II-62
Clock timer timing chart ......................................... II-63
Example of using timer interrupt ............................ II-63
Programming notes ................................................. II-68
5.7
Input Ports (K00–K03, K10) ...........................................
II-69
Input port memory map .......................................... II-69
Example of using input ports .................................. II-71
Programming notes ................................................. II-80
5.8
I/O Ports .........................................................................
II-82
I/O port memory map ............................................. II-82
Example of program for I/O ports ........................... II-83
Programming notes ................................................. II-86
Summary of Contents for S1C6S3N2
Page 4: ......
Page 6: ......
Page 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Page 8: ......
Page 141: ...Software Software S1C6S3N2 II Technical Software ...
Page 142: ......
Page 146: ......