User`s manual
RX62N Group, RX621 Group 4. Library Reference
3) R_CGC_GetStatus
Synopsis
Configure the clock generation circuit.
Prototype
bool R_CGC_GetStatus(
uint8_t * data
// Pointer to the variable where the status value shall be stored.
);
Description
Read the clock status register.
[data]
The status flags shall be stored in the format below.
b7 – b1
b0
-
0: The main clock oscillator is operating normally.
1: The main clock oscillator has stopped.
Return value
True.
Category
Clock generation circuit
References
None.
Remarks
•
None.
Program example
/* RPDL definitions */
#include "r_pdl_cgc.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
uint8_t Status_flags;
R_CGC_GetStatus(
&Status_flags
);
}
R20UT0084EE0112 Rev.1.12 Page 4-8
July. 16, 2014