1.8.16.3 1.25.16.3 1.26.14.3 1.27.16.3 1.28.19.3 1.34.14.3 1.35.10.3 1.36.13.3 1.41.15.3 1.42.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.