/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_i2c.c | 557 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 600 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1077 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1147 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1200 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1365 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1440 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1488 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1570 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1618 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_i2c.c | 549 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 592 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1083 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1153 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1204 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1406 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1454 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1536 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1584 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() 1656 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_i2c.c | 549 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 592 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1083 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1153 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1204 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1406 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1454 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1536 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1584 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() 1656 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_i2c.c | 538 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 581 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1058 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1128 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1179 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1374 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1422 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1504 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1552 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() 1624 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Receive() [all …]
|
D | stm32f4xx_hal_fmpi2c.c | 469 …I2C_TransferConfig(FMPI2C_HandleTypeDef *hfmpi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 621 hfmpi2c->Mode = HAL_FMPI2C_MODE_NONE; in HAL_FMPI2C_Init() 664 hfmpi2c->Mode = HAL_FMPI2C_MODE_NONE; in HAL_FMPI2C_DeInit() 1134 hfmpi2c->Mode = HAL_FMPI2C_MODE_MASTER; in HAL_FMPI2C_Master_Transmit() 1210 hfmpi2c->Mode = HAL_FMPI2C_MODE_NONE; in HAL_FMPI2C_Master_Transmit() 1253 hfmpi2c->Mode = HAL_FMPI2C_MODE_MASTER; in HAL_FMPI2C_Master_Receive() 1330 hfmpi2c->Mode = HAL_FMPI2C_MODE_NONE; in HAL_FMPI2C_Master_Receive() 1371 hfmpi2c->Mode = HAL_FMPI2C_MODE_SLAVE; in HAL_FMPI2C_Slave_Transmit() 1468 hfmpi2c->Mode = HAL_FMPI2C_MODE_NONE; in HAL_FMPI2C_Slave_Transmit() 1509 hfmpi2c->Mode = HAL_FMPI2C_MODE_SLAVE; in HAL_FMPI2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_i2c.c | 488 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 645 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 688 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1144 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1220 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1263 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1340 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1381 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1496 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1537 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_i2c.c | 482 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 639 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 682 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1138 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1214 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1257 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1334 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1375 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1490 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1531 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
D | stm32h5xx_hal_i3c.c | 509 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Init() 562 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Init() 658 hi3c->Mode = HAL_I3C_MODE_NONE; in HAL_I3C_DeInit() 1152 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_ActivateNotification() 1153 assert_param(IS_I3C_INTERRUPTMASK(hi3c->Mode, interruptMask)); in HAL_I3C_ActivateNotification() 1157 ((hi3c->Mode != HAL_I3C_MODE_CONTROLLER) && (hi3c->Mode != HAL_I3C_MODE_TARGET))) in HAL_I3C_ActivateNotification() 1163 else if ((hi3c->Mode == HAL_I3C_MODE_TARGET) && in HAL_I3C_ActivateNotification() 1173 if (hi3c->Mode == HAL_I3C_MODE_TARGET) in HAL_I3C_ActivateNotification() 1563 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_BusCharacteristicConfig() 1572 else if ((hi3c->State != HAL_I3C_STATE_READY) || (hi3c->Mode != HAL_I3C_MODE_CONTROLLER)) in HAL_I3C_Ctrl_BusCharacteristicConfig() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_i2c.c | 488 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 645 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 688 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1144 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1220 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1263 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1340 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1381 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1496 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1537 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_i2c.c | 471 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 623 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 666 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1136 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1212 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1255 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1332 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1373 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1475 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1516 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_gpio.c | 182 assert_param(IS_GPIO_MODE(pGPIO_Init->Mode)); in HAL_GPIO_Init() 194 if ((pGPIO_Init->Mode == GPIO_MODE_AF_PP) || (pGPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init() 210 tmp |= ((pGPIO_Init->Mode & GPIO_MODE) << (position * 2U)); in HAL_GPIO_Init() 214 if ((pGPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (pGPIO_Init->Mode == GPIO_MODE_AF_PP) || in HAL_GPIO_Init() 215 (pGPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (pGPIO_Init->Mode == GPIO_MODE_AF_OD)) in HAL_GPIO_Init() 229 tmp |= (((pGPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4U) << position); in HAL_GPIO_Init() 233 if (pGPIO_Init->Mode != GPIO_MODE_ANALOG) in HAL_GPIO_Init() 247 if ((pGPIO_Init->Mode & EXTI_MODE) == EXTI_MODE) in HAL_GPIO_Init() 257 if ((pGPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) in HAL_GPIO_Init() 265 if ((pGPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) in HAL_GPIO_Init() [all …]
|
D | stm32c0xx_hal_i2c.c | 488 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 645 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 688 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1145 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1242 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1285 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1362 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1403 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1518 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1559 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_i2c.c | 488 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 640 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 683 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1153 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1229 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1272 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1349 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1390 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1492 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1533 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_i2c.c | 475 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 627 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 670 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1140 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1216 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1259 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1336 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1377 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1479 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1520 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
D | stm32l4xx_hal_gpio.c | 172 assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); in HAL_GPIO_Init() 184 … if (((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || ((GPIO_Init->Mode & GPIO_MODE) == MODE_AF)) in HAL_GPIO_Init() 198 temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); in HAL_GPIO_Init() 205 if((GPIO_Init->Mode & GPIO_MODE_ANALOG) == GPIO_MODE_ANALOG) in HAL_GPIO_Init() 210 temp |= (((GPIO_Init->Mode & GPIO_MODE_ANALOG_ADC_CONTROL) >> 3) << position); in HAL_GPIO_Init() 217 if ((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG) in HAL_GPIO_Init() 229 if ((GPIO_Init->Mode & GPIO_MODE) == MODE_AF) in HAL_GPIO_Init() 245 temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2u)); in HAL_GPIO_Init() 250 if ((GPIO_Init->Mode & EXTI_MODE) != 0x00u) in HAL_GPIO_Init() 263 if ((GPIO_Init->Mode & TRIGGER_RISING) != 0x00u) in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_i2c.c | 475 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 627 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 670 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1126 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1202 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1245 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1322 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1363 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1465 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1506 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_i2c.c | 488 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 645 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 688 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1145 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1242 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1285 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1362 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1403 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1518 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1559 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_i2c.c | 475 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 627 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 670 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1126 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1202 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1245 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1322 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1363 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1465 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1506 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_i2c.c | 475 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 627 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 670 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1126 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1202 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1245 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1322 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1363 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1465 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1506 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_i2c.c | 475 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 627 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 670 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1126 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1202 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1245 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1322 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1363 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1478 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1519 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
D | stm32h7xx_ll_exti.c | 163 assert_param(IS_LL_EXTI_MODE(EXTI_InitStruct->Mode)); in LL_EXTI_Init() 173 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_IT) == LL_EXTI_MODE_IT) in LL_EXTI_Init() 184 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_EVENT) == LL_EXTI_MODE_EVENT) in LL_EXTI_Init() 195 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_C2_IT) == LL_EXTI_MODE_C2_IT) in LL_EXTI_Init() 206 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_C2_EVENT) == LL_EXTI_MODE_C2_EVENT) in LL_EXTI_Init() 247 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_IT) == LL_EXTI_MODE_IT) in LL_EXTI_Init() 258 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_EVENT) == LL_EXTI_MODE_EVENT) in LL_EXTI_Init() 269 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_C2_IT) == LL_EXTI_MODE_C2_IT) in LL_EXTI_Init() 280 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_C2_EVENT) == LL_EXTI_MODE_C2_EVENT) in LL_EXTI_Init() 321 if((EXTI_InitStruct->Mode & LL_EXTI_MODE_IT) == LL_EXTI_MODE_IT) in LL_EXTI_Init() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_i2c.c | 482 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 634 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 677 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1133 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1209 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1252 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1329 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1370 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1485 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1526 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_i2c.c | 482 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 634 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 677 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1133 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1209 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1252 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1329 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1370 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1485 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1526 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_i2c.c | 482 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 634 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 677 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1133 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1209 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1252 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1329 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1370 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1485 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1526 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_i2c.c | 475 … void I2C_TransferConfig(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t Size, uint32_t Mode, 627 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Init() 670 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_DeInit() 1126 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Transmit() 1202 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Transmit() 1245 hi2c->Mode = HAL_I2C_MODE_MASTER; in HAL_I2C_Master_Receive() 1322 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Master_Receive() 1363 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Transmit() 1478 hi2c->Mode = HAL_I2C_MODE_NONE; in HAL_I2C_Slave_Transmit() 1519 hi2c->Mode = HAL_I2C_MODE_SLAVE; in HAL_I2C_Slave_Receive() [all …]
|