nn::ptm::CTR Namespace

Description

Namespace for CTR functions relating to power management and clock.

(This can also be written without the "::CTR" portion.))

Enumerated Types

Hardware States
AdapterState Indicates the state of the power adapter.
BatteryChargeState Indicates the battery's charging state.
BatteryLevel Indicates the remaining battery charge level.

Functions

Hardware States
GetAdapterState Gets the state of the power adapter.
GetBatteryLevel Gets the remaining battery charge level.
GetBatteryChargeState Gets the battery's charging state.
Alarm-Related
RegisterAlarmEvent Registers an event for getting an alarm notification.
SetRtcAlarm Sets an alarm.
GetRtcAlarm Gets the time for which the alarm has been set.
CancelRtcAlarm Cancels a configured alarm.
Other
Initialize Initializes the PTM library.
Finalize Finalizes the PTM library.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL