EasyManuals Logo

Renesas RL78/G13 Manual

Renesas RL78/G13
73 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 #17 background imageLoading...
Page #17 background image
RL78/G13 Safety Function (Frequency Detection)
R01AN0956EJ0100 Rev. 1.00 Page 17 of 70
Feb. 27, 2012
[Function Name] R_Main_Get_PulseWidthMeasureResult
Synopsis
Judges the pulse interval measurement value.
Header
r_cg_macrodriver.h
r_cg_cgc.h
r_cg_port.h
r_cg_intc.h
r_cg_timer.h
r_cg_rtc.h
r_cg_it.h
r_cg_userdefine.h
Declaration
uint8_t R_Main_Get_PulseWidthMeasureResult(void)
Explanation
This function judges the pulse interval measurement value. That is, it judges whether the
global variable (g_Tau0Ch5Width) containing the pulse interval measurement value is within
the tolerable range for pulse interval measurement in Table 5.3.
Argume
nts
None
Return value
When the pulse interval measurement value is within the tolerable range: 0x00
When the pulse interval measurement value is not within the tolerable range: 0x01
Remarks
None
[Function Name] R_TAU0_Channel5_Get_PulseWidth
Synopsis
Gets the pulse interval measurement value.
Header
r_cg_macrodriver.h,
r_cg_timer.h,
r_cg_userdefine.h
Declaration
void R_TAU0_Channel5_Get_PulseWidth(uint32_t *width)
Explanation
This function gets the pulse interval measurement value. That is, it stores the pulse interval
measurement value in the global variable (g_Tau0Ch5Width).
Arguments
width
Address of the area to store the pulse interval
measurement value
Return value None
Remarks
None
[Function Name] R_TAU0_Channel5_Clear_MeasureStatus
Synopsis
Clears the pulse interval measurement end flag.
Header
r_cg_macrodriver.h,
r_cg_timer.h
r_cg_userdefine.h
Declaration
void R_TAU0_Channel5_Clear_MeasureStatus(void)
Explanation
This function clears the pulse interval measurement end flag to 0.
Arguments
None
Return value None
Remarks
None

Table of Contents

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