EasyManuals Logo

Renesas RL78/G13 Operation

Renesas RL78/G13
54 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #16 background imageLoading...
Page #16 background image
RL78/G13 Clock Generator (Clock Switching) CC-RL
R01AN2831EJ0100 Rev. 1.00 Page 16 of 51
May 28, 2015
[Function Name] R_CGC_GetClockStatus
Synopsis
Gets clock status.
Header
#include "r_cg_macrodriver.h"
#include "r_cg_cgc.h"
#include "r_cg_userdefine.h"
Declaration
uint8_t R_CGC_GetClockStatus(uint8_t status)
Explanation
Gets the clock status.
Gets the status of the clock specified in the argument so that the user can check if the clock
oscillates.
Arguments
First argument: status : Clock status (1 to 3)
Set one of the following constants:
X1_STATUS
Gets the status of X1 oscillation clock.
XT1_STATUS
Gets the status of XT1 oscillation clock.
HOCO_STATUS
Gets the status of HOCO clock.
Return value
If the clock has not been switched:
CLOCK_NOT_OSCILLATING (0x00)
If the clock has been switched:
CLOCK_OSCILLATING (0x01)
Remarks
None

Other manuals for Renesas RL78/G13

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G13 and is the answer not in the manual?

Renesas RL78/G13 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G13
CategoryComputer Hardware
LanguageEnglish

Related product manuals