nn::hid::CTR::GyroscopeReader::Read Member Function

Syntax

void Read(
     GyroscopeStatus * pBufs,
     s32 * pReadLen,
     s32 bufLen
);

Arguments

Name Description
out pBufs Receives sampling data, starting with the newest data.
out pReadLen Number of data samples that were loaded.
in bufLen Specifies the number of data samples that can be loaded into pBufs.

Return Values

None.

Description

Loads sampling data from the gyro sensor, starting with the most recent data. Any previously loaded data is not read.

The maximum number of data samples that can be loaded is the 31 most recent instances.

Revision History

2011/02/18
Added information about the maximum number of data samples.
2010/10/20
Initial version.

CONFIDENTIAL