Description

Below is a list of output file files by the Code Generator.

Table 2.1 Output File List (1/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Common

r_main.c or

r_cg_main.c

main

R_MAIN_UserserInit

A

A

r_systeminit.c or

r_cg_sysmteminit.c

hdwinit

R_Systeminit

A

A

r_cg_macrodriver.h

-

-

r_cg_userdefine.h

-

-

Clock generator

r_cg_cgc.c

R_CGC_Create

R_CGC_Set_ClockMode

R_CGC_RAMECC_Start

R_CGC_RAMECC_Stop

R_CGC_StackPointer_Start

R_CGC_StackPointer_Stop

R_CGC_ClockMonitor_Start

R_CGC_ClockMonitor_Stop

A

M

A

A

A

A

A

A

r_cg_cgc_user.c

R_CGC_Create_UserInit

r_cgc_ram_ecc_interrupt

r_cgc_stackpointer_interrupt

r_cgc_clockmonitor_interrupt

R_CGC_Get_ResetSource

M

A

A

A

A

r_cg_cgc.h

-

-

Port functions

r_cg_port.c

R_PORT_Create

A

r_cg_port_user.c

R_PORT_Create_UserInit

M

r_cg_port.h

-

-

High-speed on-chip

Oscillator clock Fre-

quency Correction

function

r_cg_hofc.c

R_HOFC_Create

R_HOFC_Start

R_HOFC_Stop

A

A

A

r_cg_hofc_user.c

R_HOFC_Create_UserInit

r_hofc_interrupt

M

A

r_cg_hofc.h

-

-

Timer array unit

r_cg_timer.c or

r_cg_tau.c

R_TAUm_Create

R_TAUm_Channeln_Start

R_TAUm_Channeln_Higher8bits_Start

R_TAUm_Channeln_Lower8bits_Start

R_TAUm_Channeln_Stop

R_TAUm_Channeln_Higher8bits_Stop

R_TAUm_Channeln_Lower8bits_Stop

R_TAUm_Reset

R_TAUm_Set_PowerOff

R_TAUm_Channeln_Get_PulseWidth

R_TAUm_Channeln_Set_SoftwareTriggerOn

A

A

A

A

A

A

A

M

A

A

A

r_cg_timer_user.c or

r_cg_tau_user.c

R_TAUm_Create_UserInit

r_taum_channeln_interrupt

r_taum_channeln_higher8bits_interrupt

M

A

A

r_cg_timer.h or

r_cg_tau.h

-

-

Table 2.2 Output File List (2/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Timer RJ

r_cg_timer.c or

r_cg_tmrj.c

R_TMR_RJn_Create

R_TMR_RJn_Start

R_TMR_RJn_Stop

R_TMR_RJn_Set_PowerOff

R_TMR_RJn_Get_PulseWidth

R_TMRJn_Create

R_TMRJn_Start

R_TMRJn_Stop

R_TMRJn_Set_PowerOff

R_TMRJn_Get_PulseWidth

A

A

A

A

A

A

A

A

M

M

r_cg_timer_user.c or

r_cg_tmrj_user.c

R_TMR_RJn_Create_UserInit

r_tmr_rjn_interrupt

R_TMRJn_Create_UserInit

r_tmrjn_interrupt

M

A

M

A

r_cg_timer.h or

r_cg_tmrj.h

-

-

RTimer RD

r_cg_timer.c or

r_cg_tmrd.c

R_TMR_RDn_Create

R_TMR_RDn_Start

R_TMR_RDn_Stop

R_TMR_RDn_Set_PowerOff

R_TMR_RDn_ForcedOutput_Start

R_TMR_RDn_ForcedOutput_Stop

R_TMR_RDn_Get_PulseWidth

R_TMRDn_Create

R_TMRDn_Start

R_TMRDn_Stop

R_TMRDn_Set_PowerOff

R_TMRDn_ForcedOutput_Start

R_TMRDn_ForcedOutput_Stop

R_TMRDn_Get_PulseWidth

R_TMRD_Set_PowerOff

A

A

A

M

M

M

A

M

M

M

A

A

A

A

M

r_cg_timer_user.c or

r_cg_tmrd_user.c

R_TMR_RDn_Create_UserInit

r_tmr_rdn_interrupt

R_TMRDn_Create_UserInit

r_tmrdn_interrupt

M

A

M

A

r_cg_timer.h or

r_cg_tmrd.h

-

-

Timer RG

r_cg_timer.c

R_TMR_RG0_Create

R_TMR_RG0_Start

R_TMR_RG0_Stop

R_TMR_RG0_Set_PowerOff

R_TMR_RG0_Get_PulseWidth

A

A

A

M

A

r_cg_timer_user.c

R_TMR_RG0_Create_UserInit

r_tmr_rg0_interrupt

M

A

r_cg_timer.h

-

-

Table 2.3 Output File List (3/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Timer RX

r_cg_tmrx.c

R_TMRX_Create

R_TMRX_Start

R_TMRX_Stop

R_TMRX_Set_PowerOff

R_TMRX_Get_BufferValue

A

A

A

A

M

r_cg_tmrx_user.c

R_TMRX_Create_UserInit

r_tmrx_interrupt

M

A

r_cg_tmrx.h

-

-

16-bit timer KB

r_cg_timer.c or

r_cg_tmkb.c

R_TMR_KB_Create

R_TMR_KBm_Start

R_TMR_KBm_Stop

R_TMR_KBm_Set_PowerOff

R_TMR_KBmn_ForcedOutput_Start

R_TMR_KBmn_ForcedOutput_Stop

R_TMR_KBm_BatchOverwriteRequestOn

R_TMR_KBm_ForcedOutput_mn_Start

R_TMR_KBm_ForcedOutput_mn_Stop

R_TMR_KBm_Reset

A

A

A

M

A

A

A

A

A

M

r_cg_timer_user.c or

r_cg_tmkb_user.c

R_TMR_KB_Create_UserInit

r_tmr_kbm_interrupt

M

A

r_cg_timer.h or

r_cg_tmkb.h

-

-

16-bit timer KC0

r_cg_timer.c

R_TMR_KC0_Create

R_TMR_KC0_Start

R_TMR_KC0_Stop

R_TMR_KC0_Set_PowerOff

A

A

A

M

r_cg_timer_user.c

R_TMR_KC0_Create_UserInit

r_tmr_kc0_interrupt

M

A

r_cg_timer.h

-

-

16-bit timer KB2

r_cg_kb2.c

R_KB2m_Create

R_KB2m_Start

R_KB2m_Stop

R_KB2m_Set_PowerOff

R_KB2m_Simultaneous_Start

R_KB2m_Simultaneous_Stop

R_KB2m_Synchronous_Start

R_KB2m_Synchronous_Stop

R_KB2m_TKBOn0_Forced_Output_Stop_Function1_Start

R_KB2m_TKBOn0_Forced_Output_Stop_Function1_Stop

R_KB2m_TKBOn1_Forced_Output_Stop_Function1_Start

R_KB2m_TKBOn1_Forced_Output_Stop_Function1_Stop

R_KB2m_TKBOn0_DitheringFunction_Start

R_KB2m_TKBOn0_DitheringFunction_Stop

R_KB2m_TKBOn1_DitheringFunction_Start

R_KB2m_TKBOn1_DitheringFunction_Stop

R_KB2m_TKBOn0_SmoothStartFunction_Start

R_KB2m_TKBOn0_SmoothStartFunction_Stop

R_KB2m_TKBOn1_SmoothStartFunction_Start

R_KB2m_TKBOn1_SmoothStartFunction_Stop

R_KB2m_BatchOverwriteRequestOn

A

A

A

M

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

r_cg_kb2_user.c

R_KB2m_Create_UserInit

r_kb2m_interrupt

M

A

r_cg_kb2.h

-

-

Table 2.4 Output File List (4/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Real-time clock

r_cg_rtc.c

R_RTC_Create

R_RTC_Start

R_RTC_Stop

R_RTC_Set_PowerOff

R_RTC_Set_HourSystem

R_RTC_Set_CounterValue

R_RTC_Set_CalendarCounterValue

R_RTC_Set_BinaryCounterValue

R_RTC_Get_CounterValue

R_RTC_Get_CalendarCounterValue

R_RTC_Get_BinaryCounterValue

R_RTC_Set_ConstPeriodInterruptOn

R_RTC_Set_ConstPeriodInterruptOff

R_RTC_Set_AlarmOn

R_RTC_Set_CalendarAlarmOn

R_RTC_Set_BinaryAlarmOn

R_RTC_Set_AlarmOff

R_RTC_Set_AlarmValue

R_RTC_Set_CalenderAlarmValue

R_RTC_Set_BinaryAlarmValue

R_RTC_Get_AlarmValue

R_RTC_Get_CalenderAlarmValue

R_RTC_Get_BinaryAlarmValue

R_RTC_Set_RTC1HZOn

R_RTC_Set_RTC1HZOff

R_RTC_Set_RTCOUTOn

R_RTC_Set_RTCOUTOff

A

A

A

A

M

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

r_cg_rtc_user.c

R_RTC_Create_UserInit

r_rtc_interrupt

r_rtc_callback_constperiod

r_rtc_callback_alarm

r_rtc_alarminterrupt

r_rtc_periodinterrupt

r_rtc_callback_periodic

M

A

A

A

A

A

A

r_cg_rtc.h

-

-

Subsystem clock

frequency measure-

ment circuit

r_cg_fmc.c

R_FMC_Create

R_FMC_Start

R_FMC_Stop

R_FMC_Set_PowerOff

A

A

A

M

r_cg_fmc_user.c

R_FMC_Create_UserInit

r_fmc_interrupt

M

A

r_cg_fmc.h

-

-

Table 2.5 Output File List (5/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

12-bit interval timer

r_cg_it.c

R_IT_Create

R_IT_Start

R_IT_Stop

R_IT_Reset

R_IT_Set_PowerOff

A

A

A

M

M

r_cg_it_user.c

R_IT_Create_UserInit

r_it_interrupt

M

A

r_cg_it.h

-

-

8-bit interval timer

r_cg_it8bit.c

R_IT8bitm_Channeln_Create

R_IT8bitm_Channeln_Start

R_IT8bitm_Channeln_Stop

R_IT8bitm_Channeln_Set_PowerOff

R_IT8bitm_Set_PowerOff

A

A

A

M

M

r_cg_it8bit_user.c

R_IT8bitm_Channeln_Create_UserInit

r_it8bitm_channeln_interrupt

M

A

r_cg_it8bit.h

-

-

16-bit wakeup timer

r_cg_timer.c

R_WUTM_Create

R_WUTM_Start

R_WUTM_Stop

R_WUTM_Set_PowerOff

A

A

A

M

r_cg_timer_user.c

R_WUTM_Create_UserInit

r_wutm_interrupt

M

A

r_cg_timer.h

-

-

Clock output/buzzer

output controller

r_cg_pclbuz.c

R_PCLBUZn_Create

R_PCLBUZn_Start

R_PCLBUZn_Stop

R_PCLBUZn_Set_PowerOff

A

A

A

M

r_cg_pclbuz_user.c

R_PCLBUZn_Create_UserInit

M

r_cg_gpt.h

-

-

Watchdog timer

r_cg_wdt.c

R_WDT_Create

R_WDT_Restart

A

A

r_cg_wdt_user.c

R_WDT_Create_UserInit

r_wdt_interrupt

M

A

r_cg_wdt.h

-

-

24-bit DS A/D con-

verter with program-

mable gain

instrumentation

amplifier

r_cg_pga_dsad.c

R_PGA_DSAD_Create

R_PGA_DSAD_Start

R_PGA_DSAD_Stop

R_PGA_DSAD_Set_PowerOff

R_PGA_DSAD_Get_AverageResult

R_PGA_DSAD_Get_Result

R_PGA_DSAD_CAMP_OffsetTrimming

A

A

A

M

A

A

A

r_cg_pga_dsad_user.c

R_PGA_DSAD_Create_UserInit

r_pga_dsad_interrupt_conversion

r_pga_dsad_interrupt_scan

r_pga_dsad_conversion_interrupt

r_pga_dsad_scan_interrupt

M

A

A

A

A

r_cg_pga_dsad.h

-

-

Table 2.6 Output File List (6/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

A/D converter

r_cg_adc.c

R_ADC_Create

R_ADC_Set_OperationOn

R_ADC_Set_OperationOff

R_ADC_Start

R_ADC_Stop

R_ADC_Reset

R_ADC_Set_PowerOff

R_ADC_Set_ADChannel

R_ADC_Set_SnoozeOn

R_ADC_Set_SnoozeOff

R_ADC_Set_TestChannel

R_ADC_Get_Result

R_ADC_Get_Result_8bit

A

A

A

A

A

M

M

M

M

M

M

A

A

r_cg_adc_user.c

R_ADC_Create_UserInit

r_adc_interrupt

M

A

r_cg_adc.h

-

-

Configurable ampli-

fier

r_cg_camp.c

R_CAMP_Create

R_CAMPn_Start

R_CAMPn_Stop

R_CAMP_Set_PowerOff

A

A

A

M

r_cg_camp_user.c

R_CAMP_Create_UserInit

M

r_cg_camp.h

-

-

Temperature sensor

r_cg_tmps.c

R_TMPS_Create

R_TMPS_Start

R_TMPS_Stop

R_TMPS_Reset

R_TMPS_Set_PowerOff

A

A

A

M

M

r_cg_tmps_user.c

R_TMPS_Create_UserInit

M

r_cg_tmps.h

-

-

24-bit DS A/D con-

verter

r_cg_dsadci.c

R_DSADC_Create

R_DSADC_Set_OperationOn

R_DSADC_Set_OperationOff

R_DSADC_Start

R_DSADC_Stop

R_DSADC_Reset

R_DSADC_Set_PowerOff

R_DSADC_Channeln_Get_Result

R_DSADC_Channeln_Get_Result_16bit

A

A

A

A

A

M

M

A

A

r_cg_dsadc_user.c

R_DSADC_Create_UserInit

r_dsadc_interrupt

r_dsadzcn_interrupt

M

A

A

r_cg_dsadc.h

-

-

Table 2.7 Output File List (7/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

D/A converter

r_cg_dac.c

R_DAC_Create

R_DACn_Start

R_DACn_Stop

R_DAC_Set_PowerOff

R_DACn_Set_ConversionValue

R_DACn_Change_OutputVoltage_8bit

R_DACn_Change_OutputVoltage

R_DACn_Create

R_DAC_Reset

A

A

A

M

A

A

A

A

M

r_cg_dac_user.c

R_DAC_Create_UserInit

R_DACn_Create_UserInit

M

M

r_cg_dac.h

-

-

Programmable gain

amplifier

r_cg_pga.c

R_PGA_Create

R_PGA_Start

R_PGA_Stop

R_PGA_Reset

R_PGA_Set_PowerOff

A

A

A

M

M

r_pga_user.c

R_PGA_Create_UserInit

M

r_pga.h

-

-

Comparator

r_cg_comp.c

R_COMP_Create

R_COMPn_Start

R_COMPn_Stop

R_COMP_Reset

R_COMP_Set_PowerOff

A

A

A

M

M

r_cg_comp_user.c

R_COMP_Create_UserInit

r_compn_interrupt

M

A

r_cg_comp.h

-

-

Comparator/Pro-

grammableGain-

Amplifier

r_cg_comppgacmpb.c

R_COMPPGA_Create

R_COMPPGA_Set_PowerOff

R_COMPn_Start

R_COMPn_Stop

R_PGA_Start

R_PGA_Stop

R_PWMOPT_Start

R_PWMOPT_Stop

A

M

A

A

A

A

A

A

r_cg_comppga_user.c

R_COMPPGA_Create_UserInit

r_compn_interrupt

M

A

r_cg_comppga.h

-

-

Table 2.8 Output File List (8/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Serial array unit

r_cg_serial.c or

r_cg_sau.c

R_SAUm_Create

R_SAUm_Reset

R_SAUm_Set_PowerOff

R_SAUm_Set_SnoozeOn

R_SAUm_Set_SnoozeOff

R_UARTn_Create

R_UARTn_Start

R_UARTn_Stop

R_UARTn_Send

R_UARTn_Receive

R_CSImn_Create

R_CSImn_Start

R_CSImn_Stop

R_CSImn_Send

R_CSImn_Receive

R_CSImn_Send_Receive

R_IICmn_Create

R_IICmn_StartCondition

R_IICmn_StopCondition

R_IICmn_Stop

R_IICmn_Master_Send

R_IICmn_Master_Receive

A

M

M

M

M

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

r_cg_serial_user.c or

r_cg_sau_user.c

R_SAUm_Create_UserInit

r_uartn_interrupt_send

r_uartn_interrupt_receive

r_uartn_interrupt_error

r_uartn_callback_sendend

r_uartn_callback_receiveend

r_uartn_callback_error

r_uartn_callback_softwareoverrun

r_csimn_interrupt

r_csimn_callback_sendend

r_csimn_callback_receiveend

r_csimn_callback_error

r_iicmn_interrupt

r_iicmn_callback_master_sendend

r_iicmn_callback_master_receiveend

r_iicmn_callback_master_error

M

A

A

A

A

A

A

A

A

A

A

A

A

A

A

A

r_cg_serial.h or

r_cg_sau.h

-

-

Serial array unit 4

r_cg_serial.c

R_DALIn_Create

R_DALIn_Start

R_DALIn_Stop

R_DALIn_Send

R_DALIn_Receive

A

A

A

A

A

r_cg_serial_user.c

r_dalin_interrupt_send

r_dalin_interrupt_receive

r_dalin_interrupt_error

r_dalin_callback_sendend

r_dalin_callback_receiveend

r_dalin_callback_error

r_dalin_callback_softwareoverrun

A

A

A

A

A

A

A

r_cg_serial.h

-

-

Table 2.9 Output File List (9/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Asynchronous

serial interface LIN-

UART

r_cg_serial.c

R_UARTFn_Create

R_UARTFn_Start

R_UARTFn_Stop

R_UARTFn_Set_PowerOff

R_UARTFn_Send

R_UARTFn_Receive

R_UARTFn_Set_DataComparisonOn

R_UARTFn_Set_DataComparisonOff

A

A

A

M

A

A

A

A

r_cg_serial_user.c

R_UARTFn_Create_UserInit

r_uartfn_interrupt_send

r_uartfn_interrupt_receive

r_uartfn_interrupt_error

r_uartfn_callback_sendend

r_uartfn_callback_receiveend

r_uartfn_callback_error

r_uartfn_callback_softwareoverrun

r_uartfn_callback_expbitdetect

r_uartfn_callback_idmatch

M

A

A

A

A

A

A

A

A

A

r_cg_serial.h

-

-

Serial interface IICA

r_cg_serial.c or

r_cg_iica.c

R_IICAn_Create

R_IICAn_StopCondition

R_IICAn_Stop

R_IICAn_Reset

R_IICAn_Set_PowerOff

R_IICAn_Master_Send

R_IICAn_Master_Receive

R_IICAn_Slave_Send

R_IICAn_Slave_Receive

R_IICAn_Set_SnoozeOn

R_IICAn_Set_SnoozeOff

R_IICAn_Set_WakeupOn

R_IICAn_Set_WakeupOff

A

M

A

M

M

A

A

A

A

A

A

A

A

r_cg_serila_user.c or

r_cg_iica_user.c

R_IICAn_Create_UserInit

r_iican_interrupt

r_iican_callback_master_sendend

r_iican_callback_master_receiveend

r_iican_callback_master_error

r_iican_callback_slave_sendend

r_iican_callback_slave_receiveend

r_iican_callback_slave_error

r_iican_callback_getstopcondition

M

A

A

A

A

A

A

A

M

r_cg_serial.h or

r_cg_iica.h

-

-

LCD controller/

driver

r_cg_lcd.c

R_LCD_Create

R_LCD_Start

R_LCD_Stop

R_LCD_Set_VoltageOn

R_LCD_Set_VoltageOff

R_LCD_Set_PowerOff

R_LCD_VoltageOn

R_LCD_VoltageOff

A

A

A

A

A

A

A

A

r_cg_lcd_user.c

R_LCD_Create_UserInit

r_lcd_interrupt

M

A

r_cg_lcd.h

-

-

Table 2.10 Output File List (10/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Sound generator

r_cg_sg.c

R_SG_Create

R_SG_Start

R_SG_Stop

A

A

A

r_cg_sg_user.c

R_SG_Create_UserInit

r_sg_interrupt

M

A

r_cg_sg.h

-

-

DMA controller

r_cg_dmac.c

R_DMACn_Create

R_DMAC_Create

R_DMACn_Start

R_DMACn_Stop

R_DMACn_Set_SoftwareTriggerOn

A

A

A

A

A

r_cg_dmac_user.c

R_DMACn_Create_UserInit

R_DMAC_Create_UserInit

r_dmacn_interrupt

M

M

A

r_cg_dmac.h

-

-

Data transfer con-

troller

r_cg_dtc.c

R_DTC_Create

R_DTCn_Start

R_DTCn_Stop

R_DTC_Set_PowerOff

R_DTCDn_Start

R_DTCDn_Stop

A

A

A

M

A

A

r_cg_dtc_user.c

R_DTC_Create_UserInit

M

r_cg_dtc.h

-

-

Event link controller

r_cg_elc.c

R_ELC_Create

R_ELC_Stop

A

A

r_cg_elc_user.c

R_ELC_Create_UserInit

M

r_cg_elc.h

-

-

Interrupt functions

r_cg_intc.c

R_INTC_Create

R_INTCn_Start

R_INTCn_Stop

R_INTCLRn_Start

R_INTCLRn_Stop

R_INTRTCICn_Start

R_INTRTCICn_Stop

R_INTFO_Start

R_INTFO_Stop

R_INTFO_ClearFlag

A

A

A

A

A

A

A

A

A

A

r_cg_intc_user.c

R_INTC_Create_UserInit

r_intcn_interrupt

r_intclrn_interrupt

r_intrtcicn_interrupt

r_intfo_interrupt

M

A

A

A

A

r_cg_intc.h

-

-

Table 2.11 Output File List (11/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Key interrupt func-

tion

r_cg_intc.c or

r_cg_key.c

R_KEY_Create

R_KEY_Start

R_KEY_Stop

A

A

A

r_cg_key_user.c

R_KEY_Create_UserInit

r_key_interrupt

M

A

r_cg_opamp.h

-

-

Voltage detector

r_cg_doc.c

R_LVD_Create

R_LVD_InterruptMode_Start

R_LVD_Start_VDD

R_LVD_Start_VBAT

R_LVD_Start_VRTC

R_LVD_Start_EXLVD

R_LVD_Stop_VDD

R_LVD_Stop_VBAT

R_LVD_Stop_VRTC

R_LVD_Stop_EXLVD

R_LVI_Create

R_LVI_InterruptMode_Start

A

A

A

A

A

A

A

A

A

A

A

A

r_cg_doc_user.c

R_LVD_Create_UserInit

r_lvd_interrupt

r_lvd_vddinterrupt

r_lvd_vbatinterrupt

r_lvd_vrtcinterrupt

r_lvd_exlvdinterrupt

R_LVI_Create_UserInit

r_lvi_interrupt

M

A

A

A

A

A

M

A

r_cg_doc.h

-

-

Battery backup

function

r_cg_bup.c

R_BUP_Create

R_BUP_Start

R_BUP_Stop

A

A

A

r_cg_bupt_user.c

R_BUP_Create_UserInit

r_bup_interrupt

M

A

r_cg_bupt.h

-

-

Oscillation stop

detector

r_cg_osdc.c

R_OSDC_Create

R_OSDC_Start

R_OSDC_Stop

R_OSDC_Set_PowerOff

R_OSDC_Reset

A

A

A

M

M

r_cg_osdc_user.c

R_OSDC_Create_UserInit

r_osdc_interrupt

M

A

r_cg_osdc.h

-

-

SPI interface

r_cg_saic.c or

r_cg_spi.c

R_SAIC_Create

R_SAIC_Write

R_SAIC_Read

R_SPI_Create

R_SPI_Write

R_SPI_Read

A

A

M

A

A

A

r_cg_saic_user.c or

r_cg_spi_user.c

R_SAIC_Create_UserInit

R_SPI_Create_UserInit

M

M

r_cg_saic.h or

r_cg_spi.h

-

-

Table 2.12 Output File List (12/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Operational ampli-

fier

r_cg_opamp.c

R_OPAMP_Create

R_OPAMP_Set_ReferenceCircuitOn

R_OPAMP_Set_ReferenceCircuitOff

R_OPAMPn_Start

R_OPAMPn_Stop

R_OPAMPn_Set_PrechargeOn

R_OPAMPn_Set_PrechargeOff

A

A

A

A

A

M

M

r_cg_opamp_user.c

R_OPAMP_Create_UserInit

M

r_cg_opamp.h

-

-

Data operation cir-

cuit

r_cg_doc.c

R_DOC_Create

R_DOC_SetMode

R_DOC_WriteData

R_DOC_GetResult

R_DOC_ClearFlag

R_DOC_Set_PowerOff

R_DOC_Reset

A

A

A

A

A

M

M

r_cg_doc_user.c

R_DOC_Create_UserInit

r_doc_interrupt

M

A

r_cg_doc.h

-

-

32-bit Multiply-

accumulator

r_cg_mac32bit.c

R_MAC32Bit_Create

R_MAC32Bit_Reset

R_MAC32Bit_Set_PowerOff

R_MAC32Bit_MULUnsigned

R_MAC32Bit_MULSigned

R_MAC32Bit_MACUnsigned

R_MAC32Bit_MACSigned

A

M

M

M

M

M

M

r_cg_mac32bit_user.c

R_MAC32Bit_Create_UserInit

r_mac32bit_interrupt_flow

M

A

r_cg_mac32bit.h

-

-

12-bit A/D converter

r_cg_12adc.c

R_12ADC_Create

R_12ADC_Start

R_12ADC_Stop

R_12ADC_Get_ValueResult

R_12ADC_Set_ADChannel

R_12ADC_TemperatureSensorOutput_On

R_12ADC_TemperatureSensorOutput_Off

R_12ADC_InternalReferenceVoltage_On

R_12ADC_InternalReferenceVoltage_Off

R_12ADC_Set_PowerOff

A

A

A

A

M

M

M

M

M

M

r_cg_12adc_user.c

R_12ADC_Create_UserInit

r_12adc_interrupt

M

A

r_cg_12adc.h

-

-

12-bit D/A converter

r_cg_12da.c

R_12DA_Create

R_12DAn_Start

R_12DAn_Stop

R_12DA_Set_PowerOff

R_12DAn_Set_ConversionValue

A

A

A

M

A

r_cg_12adc_user.c

R_12DA_Create_UserInit

M

r_cg_12adc.h

-

-

Table 2.13 Output File List (13/13)

Peripheral Function

File Name

API Function Name

out

put

(*1)

Operational ampli-

fier and Analog

switch

r_cg_ampansw.c

R_AMPANSW_Create

R_OPAMPm_Set_ReferenceCircuitOn

R_OPAMPm_Set_ReferenceCircuitOff

R_OPAMPm_Start

R_OPAMPm_Stop

R_ANSW_ChargePumpm_On

R_ANSW_ChargePumpm_Off

A

A

A

A

A

A

A

r_cg_ampansw_user.c

R_AMPANSW_Create_userInit

M

r_cg_ampansw.h

-

-

Voltage reference

r_cg_vr.c

R_VR_Create

R_VR_Start

R_VR_Stop

A

A

A

r_cg_vr_user.c

R_VR_Create_UserInit

M

r_cg_vr.h

-

-

*1 In case of [API output control] setting are default ([Output all API functions according to the setting]).

AOutput by settings on each peripheral functions panel automatically.

MOutput by the file used setting in API property.