nn::hid::CTR::GyroscopeReader::ReadLatest Member Function
bool ReadLatest(
GyroscopeStatus * pBuf
);
| Name | Description | |
|---|---|---|
| out | pBuf | Loads the 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.) |
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.
CONFIDENTIAL