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.
Dependencies: HC_SR04_Ultrasonic_Library Servo mbed
Fork of FIP_REV1 by
X_NUCLEO_IKS01A1_Private_Functions
[X_NUCLEO_IKS01A1]
Functions | |
| void | IMU_6AXES_IO_Init (void) |
| Configures Imu 6 axes I2C interface. | |
| void | IMU_6AXES_IO_Write (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t WriteAddr, uint16_t NumByteToWrite) |
| Writes a buffer to the IMU 6 axes sensor. | |
| void | IMU_6AXES_IO_Read (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t RegisterAddr, uint16_t NumByteToRead) |
| Reads a buffer from the IMU 6 axes sensor. | |
| void | MAGNETO_IO_Init (void) |
| Configures MAGNETO I2C interface. | |
| void | MAGNETO_IO_Write (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t WriteAddr, uint16_t NumByteToWrite) |
| Writes a buffer to the MAGNETO sensor. | |
| void | MAGNETO_IO_Read (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t RegisterAddr, uint16_t NumByteToRead) |
| Reads a buffer from the MAGNETO sensor. | |
| void | PRESSURE_IO_Init (void) |
| Configures Pressure I2C interface. | |
| void | PRESSURE_IO_Write (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t WriteAddr, uint16_t NumByteToWrite) |
| Writes a buffer to the Pressure sensor. | |
| void | PRESSURE_IO_Read (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t RegisterAddr, uint16_t NumByteToRead) |
| Reads a buffer from the Pressure sensor. | |
| void | HUM_TEMP_IO_Init (void) |
| Configures Humidity and Temperature I2C interface. | |
| void | HUM_TEMP_IO_Write (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t RegisterAddr, uint16_t NumByteToWrite) |
| Writes a buffer to the HUM_TEMP sensor. | |
| void | HUM_TEMP_IO_Read (uint8_t *pBuffer, uint8_t DeviceAddr, uint8_t RegisterAddr, uint16_t NumByteToRead) |
| Reads a buffer from the Uvi sensor. | |
| static void | I2C_SHIELDS_Init (void) |
| Configures I2C interface. | |
| static void | I2C_SHIELDS_WriteData (uint8_t *pBuffer, uint8_t Addr, uint8_t Reg, uint16_t Size) |
| Write a value in a register of the device through BUS. | |
| static void | I2C_SHIELDS_ReadData (uint8_t *pBuffer, uint8_t Addr, uint8_t Reg, uint16_t Size) |
| Read a register of the device through BUS. | |
| static void | I2C_SHIELDS_Error (uint8_t Addr) |
| Manages error callback by re-initializing I2C. | |
| static void | I2C_SHIELDS_MspInit (void) |
| I2C MSP Initialization. | |
Function Documentation
| void HUM_TEMP_IO_Init | ( | void | ) |
Configures Humidity and Temperature I2C interface.
- Parameters:
-
None
- Return values:
-
None
Definition at line 310 of file x_nucleo_iks01a1.c.
| void HUM_TEMP_IO_Read | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToRead | ||
| ) |
Reads a buffer from the Uvi sensor.
- Parameters:
-
pBuffer,: pointer to data to be read. DeviceAddr,: specifies the address of the device. RegisterAddr,: specifies the Pressure internal address register to read from. NumByteToRead,: number of bytes to be read.
- Return values:
-
None.
Definition at line 344 of file x_nucleo_iks01a1.c.
| void HUM_TEMP_IO_Write | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToWrite | ||
| ) |
Writes a buffer to the HUM_TEMP sensor.
- Parameters:
-
pBuffer,: pointer to data to be written. DeviceAddr,: specifies the slave address to be programmed. RegisterAddr,: specifies the Pressure register to be written. NumByteToWrite,: number of bytes to be written.
- Return values:
-
None.
Definition at line 324 of file x_nucleo_iks01a1.c.
| static void I2C_SHIELDS_Error | ( | uint8_t | Addr ) | [static] |
Manages error callback by re-initializing I2C.
- Parameters:
-
Addr,: I2C Address
- Return values:
-
None
Definition at line 437 of file x_nucleo_iks01a1.c.
| static void I2C_SHIELDS_Init | ( | void | ) | [static] |
Configures I2C interface.
- Parameters:
-
None
- Return values:
-
None
Definition at line 364 of file x_nucleo_iks01a1.c.
| static void I2C_SHIELDS_MspInit | ( | void | ) | [static] |
I2C MSP Initialization.
- Parameters:
-
None
- Return values:
-
None
Definition at line 452 of file x_nucleo_iks01a1.c.
| static void I2C_SHIELDS_ReadData | ( | uint8_t * | pBuffer, |
| uint8_t | Addr, | ||
| uint8_t | Reg, | ||
| uint16_t | Size | ||
| ) | [static] |
Read a register of the device through BUS.
- Parameters:
-
Addr,: Device address on BUS . Reg,: The target register address to read
- Return values:
-
HAL status
Definition at line 417 of file x_nucleo_iks01a1.c.
| static void I2C_SHIELDS_WriteData | ( | uint8_t * | pBuffer, |
| uint8_t | Addr, | ||
| uint8_t | Reg, | ||
| uint16_t | Size | ||
| ) | [static] |
Write a value in a register of the device through BUS.
- Parameters:
-
Addr,: Device address on BUS Bus. Reg,: The target register address to write Value,: The target register value to be written
- Return values:
-
HAL status
Definition at line 396 of file x_nucleo_iks01a1.c.
| void IMU_6AXES_IO_Init | ( | void | ) |
Configures Imu 6 axes I2C interface.
- Parameters:
-
None
- Return values:
-
None
Definition at line 139 of file x_nucleo_iks01a1.c.
| void IMU_6AXES_IO_Read | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToRead | ||
| ) |
Reads a buffer from the IMU 6 axes sensor.
- Parameters:
-
pBuffer,: pointer to data to be read. DeviceAddr,: specifies the address of the device. RegisterAddr,: specifies the IMU 6 axes internal address register to read from. NumByteToRead,: number of bytes to be read.
- Return values:
-
None.
Definition at line 175 of file x_nucleo_iks01a1.c.
| void IMU_6AXES_IO_Write | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToWrite | ||
| ) |
Writes a buffer to the IMU 6 axes sensor.
- Parameters:
-
pBuffer,: pointer to data to be written. DeviceAddr,: specifies the slave address to be programmed. RegisterAddr,: specifies the IMU 6 axes register to be written. NumByteToWrite,: number of bytes to be written.
- Return values:
-
None.
Definition at line 153 of file x_nucleo_iks01a1.c.
| void MAGNETO_IO_Init | ( | void | ) |
Configures MAGNETO I2C interface.
- Parameters:
-
None
- Return values:
-
None
Definition at line 197 of file x_nucleo_iks01a1.c.
| void MAGNETO_IO_Read | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToRead | ||
| ) |
Reads a buffer from the MAGNETO sensor.
- Parameters:
-
pBuffer,: pointer to data to be read. DeviceAddr,: specifies the address of the device. RegisterAddr,: specifies the MAGNETO internal address register to read from. NumByteToRead,: number of bytes to be read.
- Return values:
-
None.
Definition at line 233 of file x_nucleo_iks01a1.c.
| void MAGNETO_IO_Write | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToWrite | ||
| ) |
Writes a buffer to the MAGNETO sensor.
- Parameters:
-
pBuffer,: pointer to data to be written. DeviceAddr,: specifies the slave address to be programmed. RegisterAddr,: specifies the MAGNETO register to be written. NumByteToWrite,: number of bytes to be written.
- Return values:
-
None.
Definition at line 211 of file x_nucleo_iks01a1.c.
| void PRESSURE_IO_Init | ( | void | ) |
Configures Pressure I2C interface.
- Parameters:
-
None
- Return values:
-
None
Definition at line 255 of file x_nucleo_iks01a1.c.
| void PRESSURE_IO_Read | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToRead | ||
| ) |
Reads a buffer from the Pressure sensor.
- Parameters:
-
pBuffer,: pointer to data to be read. DeviceAddr,: specifies the address of the device. RegisterAddr,: specifies the Pressure internal address register to read from. NumByteToRead,: number of bytes to be read.
- Return values:
-
None.
Definition at line 290 of file x_nucleo_iks01a1.c.
| void PRESSURE_IO_Write | ( | uint8_t * | pBuffer, |
| uint8_t | DeviceAddr, | ||
| uint8_t | RegisterAddr, | ||
| uint16_t | NumByteToWrite | ||
| ) |
Writes a buffer to the Pressure sensor.
- Parameters:
-
pBuffer,: pointer to data to be written. DeviceAddr,: specifies the slave address to be programmed. RegisterAddr,: specifies the Pressure register to be written. NumByteToWrite,: number of bytes to be written.
- Return values:
-
None.
Definition at line 269 of file x_nucleo_iks01a1.c.
Generated on Tue Jul 12 2022 21:42:00 by
1.7.2
