User`s manual
3) R_ADC_10_Control ................................................................................................................. 4-226
4) R_ADC_10_Read .................................................................................................................... 4-227
4.2.26. 10-bit Digital to Analog Converter .......................................................................................... 4-228
1) R_DAC_10_Create .................................................................................................................. 4-228
2) R_DAC_10_Destroy ................................................................................................................ 4-229
3) R_DAC_10_Write .................................................................................................................... 4-230
5. Usage Examples ....................................................................................................................................... 5-1
5.1. Interrupt control ................................................................................................................................. 5-1
5.2. I/O Port .............................................................................................................................................. 5-3
5.3. Low Power Consumption .................................................................................................................. 5-5
5.3.1. Software Standby Mode ............................................................................................................. 5-5
5.3.2. Deep Software Standby Mode ................................................................................................... 5-6
5.4. Voltage Detection Circuit ................................................................................................................... 5-8
5.5. Bus Controller .................................................................................................................................... 5-9
5.5.1. External bus, CS area ................................................................................................................ 5-9
5.5.2. External bus, SDRAM area ....................................................................................................... 5-11
5.6. DMA controller ................................................................................................................................. 5-15
5.6.1. Software and IRQ triggers ....................................................................................................... 5-15
5.6.2. SCI transmission trigger........................................................................................................... 5-18
5.6.3. SCI reception trigger ................................................................................................................ 5-21
5.7. Data Transfer Controller .................................................................................................................. 5-23
5.7.1. Block transfer mode ................................................................................................................. 5-23
5.7.2. Chain transfer operation .......................................................................................................... 5-25
5.8. 8-bit Timer ........................................................................................................................................ 5-28
5.8.1. Periodic operation .................................................................................................................... 5-28
5.9. Compare Match Timer ..................................................................................................................... 5-30
5.10. Real-time Clock ............................................................................................................................... 5-32
5.11. Independent Watchdog Timer ......................................................................................................... 5-34
5.12. Serial Communication Interface ...................................................................................................... 5-35
5.12.1. SCI Reception .......................................................................................................................... 5-35
5.12.2. SCI Transmission ..................................................................................................................... 5-37
5.12.3. Synchronous Transmission and Reception ............................................................................. 5-39
5.12.4. SCI Reception in Asynchronous Multi-Processor mode .......................................................... 5-41
5.12.5. SCI Transmission in Asynchronous Multi-Processor mode ..................................................... 5-43
5.13. CRC calculator ................................................................................................................................ 5-45
5.14. I²C Bus Interface .............................................................................................................................. 5-46
5.14.1. Master mode ............................................................................................................................ 5-46
1) Configuration and transmission ................................................................................................. 5-47
2) Reception ................................................................................................................................... 5-49
3) Repeated Start ........................................................................................................................... 5-50
5.14.2. Master mode with DMAC ......................................................................................................... 5-51
5.14.3. Master mode with DTC ............................................................................................................ 5-55
5.14.4. Slave mode .............................................................................................................................. 5-59
5.15. Serial Peripheral Interface ............................................................................................................... 5-62
5.15.1. Using one slave (1) .................................................................................................................. 5-62
5.15.2. Using one slave (2) .................................................................................................................. 5-65
5.15.3. Master operation with multiple slaves ...................................................................................... 5-68
5.16. 10-bit Analog to Digital Converter .................................................................................................... 5-71
5.16.1. ADC Conversion ...................................................................................................................... 5-71
5.16.2. ADC Self-Diagnostic function .................................................................................................. 5-73
of 361