Home
last modified time | relevance | path

Searched refs:MAX_NBYTE_SIZE (Results 1 – 4 of 4) sorted by relevance

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_i2c.c272 #define MAX_NBYTE_SIZE 255U macro
655 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Transmit()
657 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit()
693 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Transmit()
695 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit()
779 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Receive()
781 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Receive()
818 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Receive()
820 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Receive()
1170 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Transmit_IT()
[all …]
Dstm32l0xx_hal_smbus.c153 #define MAX_NBYTE_SIZE 255U macro
575 if (Size > MAX_NBYTE_SIZE) in HAL_SMBUS_Master_Transmit_IT()
577 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT()
586 if ((hsmbus->XferSize == MAX_NBYTE_SIZE) && (hsmbus->XferSize < hsmbus->XferCount)) in HAL_SMBUS_Master_Transmit_IT()
669 if (Size > MAX_NBYTE_SIZE) in HAL_SMBUS_Master_Receive_IT()
671 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT()
680 if ((hsmbus->XferSize == MAX_NBYTE_SIZE) && (hsmbus->XferSize < hsmbus->XferCount)) in HAL_SMBUS_Master_Receive_IT()
824 if (Size > MAX_NBYTE_SIZE) in HAL_SMBUS_Slave_Transmit_IT()
826 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Slave_Transmit_IT()
834 if ((hsmbus->XferSize == MAX_NBYTE_SIZE) && (hsmbus->XferSize < hsmbus->XferCount)) in HAL_SMBUS_Slave_Transmit_IT()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_i2c.c354 #define MAX_NBYTE_SIZE 255U macro
1104 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Transmit()
1106 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit()
1139 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Transmit()
1141 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Transmit()
1218 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Receive()
1220 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Receive()
1254 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Receive()
1256 hi2c->XferSize = MAX_NBYTE_SIZE; in HAL_I2C_Master_Receive()
1590 if (hi2c->XferCount > MAX_NBYTE_SIZE) in HAL_I2C_Master_Transmit_IT()
[all …]
Dstm32l4xx_hal_smbus.c211 #define MAX_NBYTE_SIZE 255U macro
956 if (Size > MAX_NBYTE_SIZE) in HAL_SMBUS_Master_Transmit_IT()
958 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Transmit_IT()
967 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Transmit_IT()
1056 if (Size > MAX_NBYTE_SIZE) in HAL_SMBUS_Master_Receive_IT()
1058 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Master_Receive_IT()
1067 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Master_Receive_IT()
1220 if (Size > MAX_NBYTE_SIZE) in HAL_SMBUS_Slave_Transmit_IT()
1222 hsmbus->XferSize = MAX_NBYTE_SIZE; in HAL_SMBUS_Slave_Transmit_IT()
1230 if ((hsmbus->XferSize < hsmbus->XferCount) && (hsmbus->XferSize == MAX_NBYTE_SIZE)) in HAL_SMBUS_Slave_Transmit_IT()
[all …]