test sending sensor results over lora radio. Accelerometer and temp/pressure.
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