1.26.14.3 RSTC_NRSTPinRead Function
C
bool RSTC_NRSTPinRead (void)
Summary
Reads the NRST pin level, sampled on each "Master Clock(MCK)" rising edge
Description
This function helps to read the NRST pin status in firmware, When NSRT pin is configured to neither generate reset nor generate interrupt, the NRST pin could be used as digital input pin.
Precondition
None.
Parameters
None.
Returns
true - When NRST pin is high false - When NRST pin is Low
Example
if (RSTC_NRSTPinRead()) { //Application related tasks }
Remarks
None.