2.1 説  明

以下に,コード生成が出力するファイルの一覧を示します。

表 2.1

出力ファイル

周辺機能

ファイル名

API関数名

共  通

r_cg_main.c

main

R_MAIN_UserInit

r_dbsct.c

r_cg_intprg.c

r_undefined_exception

r_reserved_exception

r_nmi_exception

r_brk_exception

r_icu_group_n_interrupt

r_cg_resetprg.c

PowerON_Reset

r_cg_sbrk.c

r_cg_vecttbl.c

r_cg_sbrk.h

r_cg_stacksct.h

r_cg_vect.h

r_cg_hardware_setup.c

HardwareSetup

R_Systeminit

r_cg_macrodriver.h

r_cg_userdefine.h

クロック発生回路

r_cg_cgc.c

R_CGC_Create

R_CGC_Set_ClockMode

r_cg_cgc_user.c

R_CGC_Create_UserInit

r_cgc_oscillation_stop_nmi_interrupt

r_cgc_oscillation_stop_interrupt

r_cg_cgc.h

電圧検出回路(LVD)

r_cg_lvd.c

R_LVDn_Create

R_LVDn_Start

R_LVDn_Stop

r_cg_lvd_user.c

R_LVDn_Create_UserInit

r_lvd_lvdn_interrupt

r_cg_lvd.h

クロック周波数精度測定回路(CAC)

r_cg_cac.c

R_CAC_Create

R_CAC_Start

R_CAC_Stop

r_cg_cac_user.c

R_CAC_Create_UserInit

r_cac_mendf_interrupt

r_cac_ferrf_interrupt

r_cac_ovrf_interrupt

r_cg_cac.h

消費電力低減機能

r_cg_lpc.c

R_LPC_Create

R_LPC_AllModuleClockStop

R_LPC_ChangeSleepModeReturnClock

R_LPC_Sleep

R_LPC_DeepSleep

R_LPC_DeepSoftwareStandby

R_LPC_SoftwareStandby

R_LPC_ChangeOperatingPowerControl

r_cg_lpc_user.c

R_LPC_Create_UserInit

r_cg_lpc.h

割り込みコントローラ(ICU)

r_cg_icu.c

R_ICU_Create

R_ICU_IRQn_Start

R_ICU_IRQn_Stop

R_ICU_Software_Start

R_ICU_Software2_Start

R_ICU_Software_Stop

R_ICU_Software2_Stop

R_ICU_SoftwareInterrupt_Generate

R_ICU_SoftwareInterrupt2_Generate

r_cg_icu_user.c

R_ICU_Create_UserInit

r_icu_irqn_interrupt

r_icu_software_interrupt

r_icu_software2_interrupt

r_icu_nmi_interrupt

r_cg_icu.h

バ  ス

r_cg_bsc.c

R_BSC_Create

R_BSC_Error_Monitoring_Start

R_BSC_Error_Monitoring_Stop

R_BSC_InitializeSDRAM

r_cg_bsc_user.c

R_BSC_Create_UserInit

r_bsc_buserr_interrupt

r_cg_bsc.h

DMAコントローラ(DMAC)

r_cg_dmac.c

R_DMAC_Create

R_DMACn_Start

R_DMACn_Stop

R_DMACn_Set_SoftwareTrigger

R_DMACn_Clear_SoftwareTrigger

r_cg_dmac_user.c

r_dmac_dmacni_interrupt

r_dmacn_callback_transfer_end

r_dmacn_callback_transfer_escape_end

R_DMAC_Create_UserInit

r_cg_dmac.h

データ・トランスファ・コントローラ(DTC)

r_cg_dtc.c

R_DTC_Create

R_DTCm_Start

R_DTCm_Stop

r_cg_dtc_user.c

R_DTC_Create_UserInit

r_cg_dtc.h

イベント・リンク・コントローラ(ELC)

r_cg_elc.c

R_ELC_Create

R_ELC_Start

R_ELC_Stop

R_ELC_GenerateSoftwareEvent

R_ELC_Set_PortBuffern

R_ELC_Get_PortBuffern

r_cg_elc_user.c

R_ELC_Create_UserInit

r_elc_elsrni_interrupt

r_cg_elc.h

I/Oポート

r_cg_port.c

R_PORT_Create

r_cg_port_user.c

R_PORT_Create_UserInit

r_cg_port.h

マルチファンクション・タイマ・パルス・ユニット2(MTU2)

r_cg_mtu2.c

R_MTU2_Create

R_MTU2_Cn_Start

R_MTU2_Cn_Stop

r_cg_mtu2_user.c

R_MTU2_Create_UserInit

r_mtu2_tgimn_interrupt

r_mtu2_tcivn_interrupt

r_mtu2_tciun_interrupt

r_cg_mtu2.h

マルチファンクション・タイマ・パルス・ユニット3(MTU3)

r_cg_mtu3.c

R_MTU3_Create

R_MTU3_Cn_Start

R_MTU3_Cn_Stop

r_cg_mtu3_user.c

R_MTU3_Create_UserInit

r_mtu3_tgimn_interrupt

r_mtu3_tcivn_interrupt

r_mtu3_tciun_interrupt

r_cg_mtu3.h

ポート・アウトプット・イネーブル2(POE2)

r_cg_poe2.c

R_POE2_Create

R_POE2_Start

R_POE2_Stop

r_cg_poe2_user.c

R_POE2_Create_UserInit

r_poe2_oein_interrupt

r_cg_poe2.h

ポート・アウトプット・イネーブル3(POE3)

r_cg_poe3.c

R_POE3_Create

R_POE3_Start

R_POE3_Stop

r_cg_poe3_user.c

R_POE3_Create_UserInit

r_poe3_oein_interrupt

r_cg_poe3.h

汎用PWMタイマ(GPT)

r_cg_gpt.c

R_GPT_Create

R_GPTn_Start

R_GPTn_Stop

R_GPTn_HardwareStart

R_GPTn_HardwareStop

r_cg_gpt_user.c

R_GPT_Create_UserInit

r_gpt_gtcimn_interrupt

r_gpt_gtcivn_interrupt

r_gpt_gtciun_interrupt

r_gpt_gdten_interrupt

r_gpt_etgip_interrupt

r_gpt_etgin_interrupt

r_cg_gpt.h

16ビットタイマ・パルス・ユニット(TPU)

r_cg_tpu.c

R_TPU_Create

R_TPUn_Start

R_TPUn_Stop

r_cg_tpu_user.c

R_TPU_Create_UserInit

r_tpu_tginm_interrupt

r_tpu_tcinv_interrupt

r_tpu_tcinu_interrupt

r_cg_tpu.h

8ビットタイマ・パルス・ユニット(TMR)

r_cg_tmr.c

R_TMR_Create

R_TMRn_Start

R_TMRn_Stop

r_cg_tmr_user.c

R_TMR_Create_UserInit

r_tmr_cmimn_interrupt

r_tmr_ovin_interrupt

r_cg_tmr.h

プログラマブル・パルスジェネレータ(PPG)

r_cg_ppg.c

R_PPG_Create

r_cg_ppg_user.c

R_PPG_Create_UserInit

r_cg_ppg.h

コンペア・マッチ・タイマ(CMT)

r_cg_cmt.c

R_CMTn_Create

R_CMTn_Start

R_CMTn_Stop

r_cg_cmt_user.c

R_CMTn_Create_UserInit

r_cmt_cmin_interrupt

r_cg_cmt.h

コンペア・マッチ・タイマW(CMTW)

r_cg_cmtw.c

R_CMTWn_Create

R_CMTWn_Start

R_CMTWn_Stop

r_cg_cmtw_user.c

R_CMTWn_Create_UserInit

r_cmtw_cmwin_interrupt

r_cmtw_icmin_interrupt

r_cmtw_ocmin_interrupt

r_cg_cmtw.h

リアルタイム・クロック(RTC)

r_cg_rtc.c

R_RTC_Create

R_RTC_Set_CalendarAlarm

R_RTC_Set_BinaryAlarm

R_RTC_Set_ConstPeriodInterruptOn

R_RTC_Set_ConstPeriodInterruptOff

R_RTC_Set_CarryInterruptOn

R_RTC_Set_CarryInterruptOff

R_RTC_Set_RTCOUTOn

R_RTC_Set_RTCOUTOff

R_RTC_Start

R_RTC_Stop

R_RTC_Restart

R_RTC_Set_CalendarCounterValue

R_RTC_Get_CalendarCounterValue

R_RTC_Set_BinaryCounterValue

R_RTC_Get_BinaryCounterValue

R_RTC_Get_CalendarTimeCaptureValuen

R_RTC_Get_BinaryTimeCaptureValuen

r_cg_rtc_user.c

R_RTC_Create_UserInit

r_rtc_alm_interrupt

r_rtc_prd_interrupt

r_rtc_cup_interrupt

r_cg_rtc.h

ウォッチドッグ・タイマ(WDT)

r_cg_wdt.c

R_WDT_Create

R_WDT_Restart

r_cg_wdt_user.c

R_WDT_Create_UserInit

r_wdt_wuni_interrupt

r_cg_wdt.h

独立ウォッチドッグ・タイマ(IWDT)

r_cg_iwdt.c

R_IWDT_Create

R_IWDT_Restart

r_cg_iwdt_user.c

R_IWDT_Create_UserInit

r_iwdt_nmi_interrupt

r_iwdt_iwuni_interrupt

r_cg_iwdt.h

シリアル・コミュニケーション・インタフェース(SCI)

r_cg_sci.c

R_SCIn_Create

R_SCIn_Start

R_SCIn_Stop

R_SCIn_Serial_Send

R_SCIn_Serial_Receive

R_SCIn_Serial_Multiprocessor_Send

R_SCIn_Serial_Multiprocessor_Receive

R_SCIn_Serial_Send_Receive

R_SCIn_SmartCard_Send

R_SCIn_SmartCard_Receive

R_SCIn_IIC_Master_Send

R_SCIn_IIC_Master_Receive

R_SCIn_SPI_Master_Send

R_SCIn_SPI_Master_Send_Receive

R_SCIn_SPI_Slave_Send

R_SCIn_SPI_Slave_Send_Receive

R_SCIn_IIC_StartCondition

R_SCIn_IIC_StopCondition

r_cg_sci_user.c

R_SCIn_Create_UserInit

r_scin_transmitend_interrupt

r_scin_transmit_interrupt

r_scin_receive_interrupt

r_scin_receiveerror_interrupt

r_scin_callback_transmitend

r_scin_callback_receiveend

r_scin_callback_receiveerror

r_cg_sci.h

FIFO内蔵シリアル・コミュニケーション・インターフェース(SCIFA)

r_cg_scifa.c

R_SCIFAn_Create

R_SCIFAn_Start

R_SCIFAn_Stop

R_SCIFAn_Serial_Send

R_SCIFAn_Serial_Receive

R_SCIFAn_Serial_Send_Receive

r_cg_scifa_user.c

R_SCIFAn_Create_UserInit

r_scifan_teif_interrupt

r_scifan_txif_interrupt

r_scifan_rxif_interrupt

r_scifan_erif_interrupt

r_scifan_brif_interrupt

r_scifan_drif_interrupt

r_scifan_callback_transmitend

r_scifan_callback_receiveend

r_scifan_callback_error

r_cg_scifa.h

I2Cバス・インタフェース(RIIC)

r_cg_riic.c

R_RIICn_Create

R_RIICn_Start

R_RIICn_Stop

R_RIICn_Master_Send

R_RIICn_Master_Receive

R_RIICn_Slave_Send

R_RIICn_Slave_Receive

R_RIICn_StartCondition

R_RIICn_StopCondition

r_riicn_callback_receiveerror

r_riicn_callback_transmitend

r_riicn_callback_receiveend

r_cg_riic_user.c

R_RIICn_Create_UserInit

r_riicn_error_interrupt

r_riicn_receive_interrupt

r_riicn_transmit_interrupt

r_riicn_transmitend_interrupt

r_cg_riic.h

シリアル・ペリフェラル・インタフェース(RSPI)

r_cg_rspi.c

R_RSPIn_Create

R_RSPIn_Start

R_RSPIn_Stop

R_RSPIn_Send

R_RSPIn_Send_Receive

r_cg_rspi_user.c

R_RSPIn_Create_UserInit

r_rspin_receive_interrupt

r_rspin_transmit_interrupt

r_rspin_error_interrupt

r_rspin_idle_interrupt

r_rspin_callback_receiveend

r_rspin_callback_error

r_rspin_callback_transmitend

r_cg_rspi.h

CRC演算器(CRC)

r_cg_crc.c

R_CRC_SetCRC8

R_CRC_SetCRC16

R_CRC_SetCCITT

R_CRC_Input_Data

R_CRC_Get_Result

r_cg_crc.h

12ビットA/Dコンバータ(S12AD)

r_cg_s12ad.c

R_S12ADn_Create

R_S12ADn_Start

R_S12ADn_Stop

R_S12ADn_Get_ValueResult

R_S12ADn_Set_CompareValue

r_cg_s12ad_user.c

R_S12ADn_Create_UserInit

r_s12adn_interrupt

r_s12adn_groupb_interrupt

r_s12adn_compare_interrupt

r_cg_s12ad.h

D/Aコンバータ(DA)

r_cg_da.c

R_DA_Create

R_DAm_Start

R_DAm_Stop

R_DAm_Set_ConversionValue

r_cg_da_user.c

R_DA_Create_UserInit

r_cg_da.h

12ビットD/Aコンバータ(R12DA)

r_cg_r12da.c

R_R12DA_Create

R_R12DAn_Start

R_R12DAn_Stop

R_R12DAn_Set_ConversionValue

R_R12DA_Sync_Start

R_R12DA_Sync_Stop

r_cg_r12da_user.c

R_R12DA_Create_UserInit

r_cg_r12da.h

コンパレータB(CMPB)

r_cg_cmpb.c

R_CMPB_Create

R_CMPBn_Start

R_CMPBn_Stop

r_cg_doc_user.c

R_CMPB_Create_UserInit

r_cmpb_cmpbn_interrupt

r_cg_doc.h

データ演算回路(DOC)

r_cg_doc.c

R_DOC_Create

R_DOC_SetMode

R_DOC_WriteData

R_DOC_GetResult

R_DOC_ClearFlag

r_cg_doc_user.c

R_DOC_Create_UserInit

r_doc_dopcf_interrupt

r_cg_doc.h