Rev.1.01 2007.02.16
RJJ10J1643-0101
5
Table of Contents
Table of Contents
................................................................ 5
1. Introduction
................................................................... 8
2. Driver
....................................................................... 9
2.1 Overview
.................................................................. 9
2.2 Driver Features
............................................................ 10
2.3 Serial Interface Driver
....................................................... 11
2.4 Timer Driver
.............................................................. 12
2.4.1 Timer Mode
........................................................... 12
2.4.2 Event Counter Mode
.................................................... 12
2.4.3 Pulse Width Modulation Mode (PWM Mode)
................................. 12
2.4.4 Pulse Period Measurement Mode
.......................................... 12
2.4.5 Pulse Width Measurement Mode
........................................... 12
2.4.6 Input Capture Mode
..................................................... 12
2.4.7 Output Compare Mode
.................................................. 13
2.5 I/O Port Driver
............................................................ 14
2.6 External Interrupt Driver
..................................................... 15
2.7 A/D Converter Driver
....................................................... 16
3. Standard Types
............................................................... 18
4. Library Reference
............................................................. 19
4.1 API List by Peripheral Facility
................................................ 19
4.2 Description of Each API
..................................................... 21
4.2.1 Serial I/O
............................................................. 22
__BasicOpenSerialDriver
................................................... 22
__BasicCloseSerialDriver
................................................... 23
__BasicSetSerialFormat
.................................................... 24
__BasicStartSerialReceiving
................................................. 29
__BasicStartSerialSending
.................................................. 30
__BasicReceivingStatusRead
................................................ 31
__BasicSendingStatusRead
.................................................. 33
__BasicStopSerialReceiving
................................................. 34
__BasicStopSerialSending
.................................................. 35
__OpenSerialDriver
....................................................... 36
__CloseSerialDriver
....................................................... 37
__ConfigSerialDriverNotify
................................................. 38
__SetSerialFormat
......................................................... 41
__SetSerialInterrupt
....................................................... 42
__StartSerialReceiving
..................................................... 45
__StartSerialSending
....................................................... 47
__StopSerialReceiving
..................................................... 49
__StopSerialSending
....................................................... 50
__PollingSerialReceiving
................................................... 51
__PollingSerialSending
..................................................... 52
4.2.2 Timer
................................................................ 54