nn::hid::CTR::GyroscopeReader::ReadLatest Member Function

Syntax

bool ReadLatest(
     GyroscopeStatus * pBuf
);

Arguments

Name Description
out pBuf Loads the sampling data.

Return Values

Returns the result of loading sampling data.
true: Successfully loaded.
false: Could not load. (Sampling data can be loaded immediately following the first sampling that occurs after either the creation of an instance of GyroscopeReader or the waking of the system from Sleep Mode.)

Description

Loads the most recent sampling data from the gyro sensor. This function, unlike the nn::hid::CTR::GyroscopeReader::Read function, can load the same sampling data more than once.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL