This function is used to find out if the terminal has been powered down.

Syntax

int IsPoweredDown(void);

Parameters

None

Return value

Returns whether this function was called first after the power was turned on.
ValueDescription
TRUE The terminal has been powered down since the last call to this function.
FALSE The terminal has not been powered down since the last call to this function.

Remarks

When this function is called, the power off flag is cleared inside the OS.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/07