/* Wrap Write register component function to Bus IO function.  */
static int32_t WriteRegWrap(void *Handle, uint8_t Reg, uint8_t *pData, uint16_t Length)
/* Wrap Write register component function to Bus IO function.  */
static int32_t WriteRegWrap(void *Handle, uint8_t Reg, uint8_t *pData, uint16_t Length)
{
  LSM6DSO_Object_t *pObj = (LSM6DSO_Object_t *)Handle;
  return pObj->IO.WriteReg(pObj->IO.Address, Reg, pData, Length);
}