/* Wrap MFXSTM32L152 read function to Bus IO function.  */
static int32_t MFXSTM32L152_ReadRegWrap(void *handle, uint16_t Reg, uint8_t *pData, uint16_t Length)
/* Wrap MFXSTM32L152 read function to Bus IO function.  */
static int32_t MFXSTM32L152_ReadRegWrap(void *handle, uint16_t Reg, uint8_t *pData, uint16_t Length)
{
  MFXSTM32L152_Object_t *pObj = (MFXSTM32L152_Object_t *)handle;
  return pObj->IO.ReadReg(pObj->IO.Address, Reg, pData, Length);
}