nn::pl::CTR Namespace

Description

Namespace for CTR-specific API functions.

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

Use the nn::ptm::CTR::Initialize and nn::ptm::CTR::Finalize functions to initialize and finalize the pedometer library.

Classes

nn::pl::CTR::ResultIsWriting Indicates that the writing of the number of steps data is currently executing. Retry after some time has passed.

Structures

nn::pl::CTR::PedometerMonthHeader Structure that holds the recorded year and month for pedometer entries.
nn::pl::CTR::PedometerHistoryHeader Structure that indicates the header information for pedometer data.
nn::pl::CTR::PedometerEntry The structure for the entry that indicates the year and month and the number of steps recorded.

Enumerated Types

Shared Fonts
SharedFontType Indicates the type of shared font.
SharedFontLoadState Indicates the load state of the shared font.

typedef Definitions

Pedometer Library
PedometerMonthData The type that holds one month's worth of steps.
PedometerHistoryData The type that holds all step data (ten years' worth) for the pedometer library.

Constants

Pedometer Library
MAX_MONTHDAYS The number of days saved for entries in a single month.
DAYHOURS The number of hours saves for entries in a single day.
NUM_FREESPACE The number of internal entries.
NUM_MONTHHISTORIES The maximum value of entries per month saved for the pedometer library.
MAX_MONTHHISTORIES The saved value internal to the entries per month.
NUM_MONTHHISTORYENTRIES One month's worth of saved data.
INVALID_COUNTER A value that indicates an invalid entry.

Functions

Pedometer Library
GetPedometerState Returns the status of the pedometer.
GetStepHistoryEntry Gets the entry information for the number of steps recorded by the library.
GetStepHistory Gets the number of steps recorded for each hour.
GetTotalStepCount Gets the total number of steps.
GetStepHistoryAll Gets the total step data saved by the library.
Shared Fonts
InitializeSharedFont Enables use of shared font.
GetSharedFontAddress Gets the address of the shared font.
GetSharedFontSize Gets the size of the shared font.
GetSharedFontType Gets the type of the shared font.
GetSharedFontLoadState Gets the load state of the shared font.
MountSharedFont Mounts the archive of the shared font.
UnmountSharedFont Unmounts the archive of the shared font.

Revision History

2010/11/16
Added the method for initializing and finalizing the pedometer library.
2010/09/02
Initial version.

CONFIDENTIAL