Class BusConfig
-
- All Implemented Interfaces:
public class BusConfig
Helper class to manipulate Bus config data
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
NORDIC_AUTO_POWER_OFF_MIN_DELAY
public final static int
NORDIC_AUTO_POWER_OFF_DEFAULT_DELAY
public final static int
NORDIC_AUTO_POWER_OFF_MAX_DELAY
public final static int
NORDIC_AUTO_POWER_OFF_DISABLED
public final static int
GOLLUM_PO_ST_STATUS_ASYNC_SUPPORTED
public final static int
GOLLUM_PO_ST_STATUS_ASYNC_ENABLED
public final static int
GOLLUM_PO_ST_STATUS_BUTTONS_LOCKED
-
Method Summary
Modifier and Type Method Description int
getPowerOnSelfTestResult()
int
getAutoPowerOffTimer()
boolean
isAsyncModeSupported()
boolean
isAsyncModeEnabled()
boolean
isHwButtonsLocked()
static boolean
isAutoPowerOffTimerValid(int autoPowerOffTimer)
boolean
isAutoPowerOffTimerValid()
-
-
Method Detail
-
getPowerOnSelfTestResult
int getPowerOnSelfTestResult()
- Returns:
Power On Self Test bitmask result
-
getAutoPowerOffTimer
int getAutoPowerOffTimer()
- Returns:
Auto Power Off Timer value in mn
-
isAsyncModeSupported
boolean isAsyncModeSupported()
-
isAsyncModeEnabled
boolean isAsyncModeEnabled()
-
isHwButtonsLocked
boolean isHwButtonsLocked()
-
isAutoPowerOffTimerValid
static boolean isAutoPowerOffTimerValid(int autoPowerOffTimer)
- Returns:
true if Auto Power Off Timer value is valid
-
isAutoPowerOffTimerValid
boolean isAutoPowerOffTimerValid()
- Returns:
true if Auto Power Off Timer value is valid
-
-
-
-