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

Syntax

bool ReadLatest(
     GyroscopeStatus * pBuf
);

Parameters

Name Description
out pBuf Loads the sampling data.

Return Values

Returns the result of loading sampling data.

Value Description
true Read successful.
false Could not read. (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. Unlike the Read function, this function can load the same sampling data more than once.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL