3.2.2 Clock generator

Below is a list of API functions output by the Code Generator for clock generator (include reset function, on-chip debug function, etc.) use.

Table 3.2

API Functions: [Clock Generator]

API Function Name

Function

R_CGC_Create

Performs initialization required to control the clock generator (include reset function, on-chip debug function, etc.).

R_CGC_Create_UserInit

Performs user-defined initialization relating to the clock generator (include reset function, on-chip debug function, etc.).

r_cgc_ram_ecc_interrupt

Performs processing in response to the RAM 1-bit correction/2-bit error detection interrupt INTRAM.

r_cgc_stackpointer_interrupt

Performs processing in response to the stackpointer overflow/underflow interrupt INTSPM.

r_cgc_clockmonitor_interrupt

Performs processing in response to the clock monitor interrupt INTCLM.

R_CGC_Get_ResetSource

Performs processing in response to RESET signal.

R_CGC_Set_ClockMode

Changes the CPU clock/peripheral hardware clock.

R_CGC_RAMECC_Start

Starts the RAM-ECC function.

R_CGC_RAMECC_Stop

Ends the RAM-ECC function.

R_CGC_StackPointer_Start

Starts the CPU stack pointer monitor function.

R_CGC_StackPointer_Stop

Ends the CPU stack pointer monitor function.

R_CGC_ClockMonitor_Start

Starts the clock monitor.

R_CGC_ClockMonitor_Stop

Ends the clock monitor.