User`s manual
RX62N Group, RX621 Group 4. Library Reference
4) R_POE_GetStatus
Synopsis
Check the status of the Port Output Enable module.
Prototype
bool R_POE_GetStatus(
uint16_t * data
// Status flags pointer
);
Description
Return the status flags.
[data]
The status flags shall be stored in the following format.
b15
b14
b13 – b10
b9
b8
Output short detection
0
High impedance request detection (more)
MTU9 or MTU10
MTU3 or MTU4
POE9
POE8
0: Not detected
1: Detected
0: No request
1: Requested
b7
b6
b5
b4
b3
b2
b1
b0
High impedance request detection on pin POEn
POE7
POE6
POE5
POE4
POE3
POE2
POE1
POE0
0: No request
1: Requested
Return value
True.
Category
Port Output Enable
Reference
R_POE_Control
Remarks
•
Use R_POE_Control to clear the flags.
Program example
/* RPDL definitions */
#include "r_pdl_poe.h"
/* RPDL device-specific definitions */
#include "r_pdl_definitions.h"
void func(void)
{
uint16_t StatusFlags;
/* Read the POE status */
R_POE_GetStatus(
&
StatusFlags
);
}
R20UT0084EE0112 Rev.1.12 Page 4-120
July. 16, 2014