Read

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

Syntax

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

Parameters

Name Description
out pBufs Loads sampling data in order, starting with the most recent 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. Does not load any data that has been previously loaded.

Up to 31 data samples can be loaded (the 31 most recent samples) (MAX_READ_NUM).

Revision History

2011/08/30
Fixed broken links.
2011/02/18
Added information about the maximum number of data samples.
2010/10/20
Initial version.

CONFIDENTIAL