Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
IO
[X_NUCLEO_IKS01A2]
Modules | |
| Private variables | |
| Public functions | |
| Private functions | |
| Public constants | |
| Public function prototypes | |
Functions | |
| uint8_t | Sensor_IO_Write (void *handle, uint8_t WriteAddr, uint8_t *pBuffer, uint16_t nBytesToWrite) |
| Writes a buffer to the sensor. | |
| uint8_t | Sensor_IO_Read (void *handle, uint8_t ReadAddr, uint8_t *pBuffer, uint16_t nBytesToRead) |
| Reads a from the sensor to buffer. | |
Function Documentation
| uint8_t Sensor_IO_Read | ( | void * | handle, |
| uint8_t | ReadAddr, | ||
| uint8_t * | pBuffer, | ||
| uint16_t | nBytesToRead | ||
| ) |
Reads a from the sensor to buffer.
- Parameters:
-
handle instance handle ReadAddr specifies the internal sensor address register to be read from pBuffer pointer to data buffer nBytesToRead number of bytes to be read
- Return values:
-
0 in case of success 1 in case of failure
Definition at line 211 of file x_nucleo_iks01a2.c.
| uint8_t Sensor_IO_Write | ( | void * | handle, |
| uint8_t | WriteAddr, | ||
| uint8_t * | pBuffer, | ||
| uint16_t | nBytesToWrite | ||
| ) |
Writes a buffer to the sensor.
- Parameters:
-
handle instance handle WriteAddr specifies the internal sensor address register to be written to pBuffer pointer to data buffer nBytesToWrite number of bytes to be written
- Return values:
-
0 in case of success 1 in case of failure
Definition at line 158 of file x_nucleo_iks01a2.c.
Generated on Tue Jul 12 2022 16:29:50 by
1.7.2