
Table of Contents
1.
Introduction
...............................................................................................................................................
.
1-1
1.1. Using the library within your project
.........................................................................................................
1-2
1.1.1. Copy the
files
................................................................................................................................... 1-2
1.1.2. Include the header files
..................................................................................................................... 1-2
1.1.3. Add the library file path
.................................................................................................................... 1-2
1.1.4. Build the
project
............................................................................................................................... 1-2
1.2. Document
structure
..................................................................................................................................
1-2
1.3. Acronyms and abbreviations
.....................................................................................................................
1-3
2.
Driver
......................................................................................................................................................... 2-1
2.1.
Overview
.................................................................................................................................................
2-1
2.2. Control
Function
......................................................................................................................................
2-1
2.3. Serial Communication Interface
Driver
......................................................................................................
2-2
2.4. I/O Port
Driver
........................................................................................................................................
2-3
2.5. Port Function Control
Driver
....................................................................................................................
2-4
2.6. Interrupt Control Driver
...........................................................................................................................
2-5
2.7. Analog to Digital Converter Driver
...........................................................................................................
2-6
2.8. Clock Pulse Generator
Driver
...................................................................................................................
2-7
2.9. Compare Match Timer Driver
...................................................................................................................
2-8
2.10. Multi Function Timer Pulse Unit 2
Driver
..................................................................................................
2-9
2.11. Bus State Controller
Driver
.........................................................................................................
............
2-10
2.12. DMA Controller Driver ...........................................................................................................................2-11
3. Standard Types
........................................................................................................................................... 3-1
4. Library
Reference
.............................................................................................................................
..........
4-1
4.1. API List by Peripheral
Function
................................................................................................................
4-1
4.2. Description of Each API
...........................................................................................................................
4-2
4.2.1. Clock Pulse Generator
...................................................................................................................... 4-3
1) R_CPG_Set
....................................................................................................................................... 4-3
4.2.2. Interrupt Control Unit
....................................................................................................................... 4-5
1) R_INTC_CreateExtInterrupt
............................................................................................................... 4-5
2)
R_INTC_CreateExceptionHandlers
..................................................................................................... 4-8
3)
R_INTC_ControlExtInterrupt
.............................................................................................................. 4-9
4)
R_INTC_GetExtInterruptStatus
......................................................................................................... 4-12
5)
R_INTC_Read
................................................................................................................................. 4-14
6)
R_INTC_Write
................................................................................................................................. 4-15
7)
R_INTC_Modify
.............................................................................................................................. 4-16
4.2.3. I/O Port
......................................................................................................................................... 4-18
1)
R_IO_PORT_Set
.............................................................................................................................. 4-18
2)
R_IO_PORT_Read
........................................................................................................................... 4-21
3)
R_IO_PORT_ReadControl
................................................................................................................ 4-24
4)
R_IO_PORT_Write
.......................................................................................................................... 4-27
5)
R_IO_PORT_Compare
..................................................................................................................... 4-30
6)
R_IO_PORT_Modify
........................................................................................................................ 4-33
7)
R_IO_PORT_ModifyControl
............................................................................................................ 4-36
8)
R_IO_PORT_Wait
............................................................................................................................ 4-39
4.2.4. Port Function Control
..................................................................................................................... 4-42
Comentários a estes Manuais