This function gets the current application mode.

Syntax

int GetCurrentApplMode (void);

Parameters

None

Return value

Return current application mode. (USER_APP1 or USER_APP2)
Value Description
USER_APP1 Current User-app 1.
USER_APP2 Current User-app 2:

Remarks

This API is compatible with OS version TH15J09 or later.

Requirements

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

Last updated: 2020/10/09