/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_flash_ex.c | 205 HAL_StatusTypeDef status = HAL_ERROR; in HAL_FLASHEx_Erase() local 212 status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_Erase() 214 if (status == HAL_OK) in HAL_FLASHEx_Erase() 263 status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_Erase() 269 if (status != HAL_OK) in HAL_FLASHEx_Erase() 281 return status; in HAL_FLASHEx_Erase() 301 HAL_StatusTypeDef status = HAL_ERROR; in HAL_FLASHEx_Erase_IT() local 349 status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_Erase_IT() 351 if (status == HAL_OK) in HAL_FLASHEx_Erase_IT() 369 return status; in HAL_FLASHEx_Erase_IT() [all …]
|
D | stm32l1xx_hal_flash_ramfunc.c | 183 HAL_StatusTypeDef status = HAL_OK; in HAL_FLASHEx_EraseParallelPage() local 186 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_EraseParallelPage() 188 if(status == HAL_OK) in HAL_FLASHEx_EraseParallelPage() 201 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_EraseParallelPage() 209 return status; in HAL_FLASHEx_EraseParallelPage() 245 HAL_StatusTypeDef status = HAL_OK; in HAL_FLASHEx_ProgramParallelHalfPage() local 253 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_ProgramParallelHalfPage() 255 if(status == HAL_OK) in HAL_FLASHEx_ProgramParallelHalfPage() 263 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_ProgramParallelHalfPage() 264 if(status == HAL_OK) in HAL_FLASHEx_ProgramParallelHalfPage() [all …]
|
D | stm32l1xx_hal_comp.c | 238 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_Init() local 243 status = HAL_ERROR; in HAL_COMP_Init() 363 return status; in HAL_COMP_Init() 376 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_DeInit() local 381 status = HAL_ERROR; in HAL_COMP_DeInit() 430 return status; in HAL_COMP_DeInit() 489 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_Start() local 496 status = HAL_ERROR; in HAL_COMP_Start() 535 status = HAL_ERROR; in HAL_COMP_Start() 539 return status; in HAL_COMP_Start() [all …]
|
D | stm32l1xx_ll_utils.c | 274 ErrorStatus status = SUCCESS; in LL_PLL_ConfigSystemClock_HSI() local 297 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSI() 302 status = ERROR; in LL_PLL_ConfigSystemClock_HSI() 305 return status; in LL_PLL_ConfigSystemClock_HSI() 336 ErrorStatus status = SUCCESS; in LL_PLL_ConfigSystemClock_HSE() local 375 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSE() 380 status = ERROR; in LL_PLL_ConfigSystemClock_HSE() 383 return status; in LL_PLL_ConfigSystemClock_HSE() 408 ErrorStatus status = SUCCESS; in UTILS_SetFlashLatency() local 415 status = ERROR; in UTILS_SetFlashLatency() [all …]
|
D | stm32l1xx_hal_opamp.c | 252 HAL_StatusTypeDef status = HAL_OK; in HAL_OPAMP_Init() local 260 status = HAL_ERROR; in HAL_OPAMP_Init() 378 status = HAL_ERROR; in HAL_OPAMP_Init() 404 status = HAL_ERROR; in HAL_OPAMP_Init() 409 if (status != HAL_ERROR) in HAL_OPAMP_Init() 485 return status; in HAL_OPAMP_Init() 497 HAL_StatusTypeDef status = HAL_OK; in HAL_OPAMP_DeInit() local 503 status = HAL_ERROR; in HAL_OPAMP_DeInit() 538 return status; in HAL_OPAMP_DeInit() 600 HAL_StatusTypeDef status = HAL_OK; in HAL_OPAMP_Start() local [all …]
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_flash_ex.c | 189 HAL_StatusTypeDef status = HAL_ERROR; in HAL_FLASHEx_Erase() local 196 status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_Erase() 198 if (status == HAL_OK) in HAL_FLASHEx_Erase() 217 status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_Erase() 223 if (status != HAL_OK) in HAL_FLASHEx_Erase() 235 return status; in HAL_FLASHEx_Erase() 253 HAL_StatusTypeDef status = HAL_ERROR; in HAL_FLASHEx_Erase_IT() local 271 status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_Erase_IT() 273 if (status == HAL_OK) in HAL_FLASHEx_Erase_IT() 291 return status; in HAL_FLASHEx_Erase_IT() [all …]
|
D | stm32l0xx_ll_utils.c | 269 ErrorStatus status = SUCCESS; in LL_PLL_ConfigSystemClock_HSI() local 292 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSI() 297 status = ERROR; in LL_PLL_ConfigSystemClock_HSI() 300 return status; in LL_PLL_ConfigSystemClock_HSI() 328 ErrorStatus status = SUCCESS; in LL_PLL_ConfigSystemClock_HSE() local 366 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSE() 371 status = ERROR; in LL_PLL_ConfigSystemClock_HSE() 374 return status; in LL_PLL_ConfigSystemClock_HSE() 398 ErrorStatus status = SUCCESS; in UTILS_SetFlashLatency() local 405 status = ERROR; in UTILS_SetFlashLatency() [all …]
|
D | stm32l0xx_hal_flash_ramfunc.c | 183 HAL_StatusTypeDef status = HAL_OK; in HAL_FLASHEx_EraseParallelPage() local 186 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_EraseParallelPage() 188 if(status == HAL_OK) in HAL_FLASHEx_EraseParallelPage() 201 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_EraseParallelPage() 209 return status; in HAL_FLASHEx_EraseParallelPage() 243 HAL_StatusTypeDef status = HAL_OK; in HAL_FLASHEx_ProgramParallelHalfPage() local 246 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_ProgramParallelHalfPage() 248 if(status == HAL_OK) in HAL_FLASHEx_ProgramParallelHalfPage() 256 status = FLASHRAM_WaitForLastOperation(FLASH_TIMEOUT_VALUE); in HAL_FLASHEx_ProgramParallelHalfPage() 257 if(status == HAL_OK) in HAL_FLASHEx_ProgramParallelHalfPage() [all …]
|
D | stm32l0xx_hal_comp.c | 235 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_Init() local 240 status = HAL_ERROR; in HAL_COMP_Init() 353 status = HAL_ERROR; in HAL_COMP_Init() 463 return status; in HAL_COMP_Init() 475 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_DeInit() local 480 status = HAL_ERROR; in HAL_COMP_DeInit() 500 return status; in HAL_COMP_DeInit() 560 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_Start() local 565 status = HAL_ERROR; in HAL_COMP_Start() 592 status = HAL_ERROR; in HAL_COMP_Start() [all …]
|
/loramac-node-3.4.0/src/peripherals/lr1110-se/ |
D | lr1110-se.c | 71 lr1110_crypto_status_t status = LR1110_CRYPTO_STATUS_ERROR; in SecureElementInit() local 97 lr1110_crypto_restore_from_flash( &LR1110, &status ); in SecureElementInit() 111 return ( SecureElementStatus_t ) status; in SecureElementInit() 121 SecureElementStatus_t status = SECURE_ELEMENT_ERROR; in SecureElementSetKey() local 126 lr1110_crypto_derive_and_store_key( &LR1110, ( lr1110_crypto_status_t* ) &status, in SecureElementSetKey() 130 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementSetKey() 132 lr1110_crypto_store_to_flash( &LR1110, ( lr1110_crypto_status_t* ) &status ); in SecureElementSetKey() 134 return status; in SecureElementSetKey() 138 …lr1110_crypto_set_key( &LR1110, ( lr1110_crypto_status_t* ) &status, convert_key_id_from_se_to_lr1… in SecureElementSetKey() 140 if( status == SECURE_ELEMENT_SUCCESS ) in SecureElementSetKey() [all …]
|
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_dfsdm.c | 564 HAL_StatusTypeDef status = HAL_OK; in HAL_DFSDM_Channel_RegisterCallback() local 569 status = HAL_ERROR; in HAL_DFSDM_Channel_RegisterCallback() 591 status = HAL_ERROR; in HAL_DFSDM_Channel_RegisterCallback() 607 status = HAL_ERROR; in HAL_DFSDM_Channel_RegisterCallback() 614 status = HAL_ERROR; in HAL_DFSDM_Channel_RegisterCallback() 617 return status; in HAL_DFSDM_Channel_RegisterCallback() 635 HAL_StatusTypeDef status = HAL_OK; in HAL_DFSDM_Channel_UnRegisterCallback() local 655 status = HAL_ERROR; in HAL_DFSDM_Channel_UnRegisterCallback() 671 status = HAL_ERROR; in HAL_DFSDM_Channel_UnRegisterCallback() 678 status = HAL_ERROR; in HAL_DFSDM_Channel_UnRegisterCallback() [all …]
|
D | stm32l4xx_hal_comp.c | 287 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_Init() local 292 status = HAL_ERROR; in HAL_COMP_Init() 296 status = HAL_ERROR; in HAL_COMP_Init() 486 return status; in HAL_COMP_Init() 498 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_DeInit() local 503 status = HAL_ERROR; in HAL_COMP_DeInit() 507 status = HAL_ERROR; in HAL_COMP_DeInit() 537 return status; in HAL_COMP_DeInit() 586 HAL_StatusTypeDef status = HAL_OK; in HAL_COMP_RegisterCallback() local 617 status = HAL_ERROR; in HAL_COMP_RegisterCallback() [all …]
|
D | stm32l4xx_ll_utils.c | 319 ErrorStatus status = SUCCESS; in LL_PLL_ConfigSystemClock_MSI() local 341 status = ERROR; in LL_PLL_ConfigSystemClock_MSI() 362 status = ERROR; in LL_PLL_ConfigSystemClock_MSI() 373 if(status != ERROR) in LL_PLL_ConfigSystemClock_MSI() 405 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_MSI() 409 if((status == SUCCESS) && (hpre != 0U)) in LL_PLL_ConfigSystemClock_MSI() 420 status = ERROR; in LL_PLL_ConfigSystemClock_MSI() 423 return status; in LL_PLL_ConfigSystemClock_MSI() 445 ErrorStatus status; in LL_PLL_ConfigSystemClock_HSI() local 483 status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); in LL_PLL_ConfigSystemClock_HSI() [all …]
|
D | stm32l4xx_hal_ospi.c | 315 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_Init() local 321 status = HAL_ERROR; in HAL_OSPI_Init() 372 status = HAL_OSPI_SetTimeout(hospi, HAL_OSPI_TIMEOUT_DEFAULT_VALUE); in HAL_OSPI_Init() 375 if (status == HAL_OK) in HAL_OSPI_Init() 394 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Init() 396 if (status == HAL_OK) in HAL_OSPI_Init() 424 return status; in HAL_OSPI_Init() 449 HAL_StatusTypeDef status = HAL_OK; in HAL_OSPI_DeInit() local 454 status = HAL_ERROR; in HAL_OSPI_DeInit() 479 return status; in HAL_OSPI_DeInit() [all …]
|
D | stm32l4xx_hal_swpmi.c | 256 HAL_StatusTypeDef status = HAL_OK; in HAL_SWPMI_Init() local 262 status = HAL_ERROR; in HAL_SWPMI_Init() 336 return status; in HAL_SWPMI_Init() 346 HAL_StatusTypeDef status = HAL_OK; in HAL_SWPMI_DeInit() local 351 status = HAL_ERROR; in HAL_SWPMI_DeInit() 385 return status; in HAL_SWPMI_DeInit() 439 HAL_StatusTypeDef status = HAL_OK; in HAL_SWPMI_RegisterCallback() local 446 status = HAL_ERROR; in HAL_SWPMI_RegisterCallback() 479 status = HAL_ERROR; in HAL_SWPMI_RegisterCallback() 497 status = HAL_ERROR; in HAL_SWPMI_RegisterCallback() [all …]
|
D | stm32l4xx_hal_opamp.c | 298 HAL_StatusTypeDef status = HAL_OK; in HAL_OPAMP_Init() local 449 return status; in HAL_OPAMP_Init() 462 HAL_StatusTypeDef status = HAL_OK; in HAL_OPAMP_DeInit() local 468 status = HAL_ERROR; in HAL_OPAMP_DeInit() 472 status = HAL_ERROR; in HAL_OPAMP_DeInit() 502 return status; in HAL_OPAMP_DeInit() 563 HAL_StatusTypeDef status = HAL_OK; in HAL_OPAMP_Start() local 569 status = HAL_ERROR; in HAL_OPAMP_Start() 573 status = HAL_ERROR; in HAL_OPAMP_Start() 591 status = HAL_ERROR; in HAL_OPAMP_Start() [all …]
|
D | stm32l4xx_hal_gfxmmu.c | 179 HAL_StatusTypeDef status = HAL_OK; in HAL_GFXMMU_Init() local 184 status = HAL_ERROR; in HAL_GFXMMU_Init() 238 return status; in HAL_GFXMMU_Init() 248 HAL_StatusTypeDef status = HAL_OK; in HAL_GFXMMU_DeInit() local 253 status = HAL_ERROR; in HAL_GFXMMU_DeInit() 279 return status; in HAL_GFXMMU_DeInit() 329 HAL_StatusTypeDef status = HAL_OK; in HAL_GFXMMU_RegisterCallback() local 336 status = HAL_ERROR; in HAL_GFXMMU_RegisterCallback() 357 status = HAL_ERROR; in HAL_GFXMMU_RegisterCallback() 375 status = HAL_ERROR; in HAL_GFXMMU_RegisterCallback() [all …]
|
D | stm32l4xx_hal_qspi.c | 309 HAL_StatusTypeDef status; in HAL_QSPI_Init() local 377 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, hqspi->Timeout); in HAL_QSPI_Init() 379 if(status == HAL_OK) in HAL_QSPI_Init() 411 return status; in HAL_QSPI_Init() 816 HAL_StatusTypeDef status; in HAL_QSPI_Command() local 856 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_QSPI_Command() 858 if (status == HAL_OK) in HAL_QSPI_Command() 867 status = QSPI_WaitFlagStateUntilTimeout(hqspi, QSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_QSPI_Command() 869 if (status == HAL_OK) in HAL_QSPI_Command() 886 status = HAL_BUSY; in HAL_QSPI_Command() [all …]
|
D | stm32l4xx_hal_rng.c | 327 HAL_StatusTypeDef status = HAL_OK; in HAL_RNG_RegisterCallback() local 358 status = HAL_ERROR; in HAL_RNG_RegisterCallback() 378 status = HAL_ERROR; in HAL_RNG_RegisterCallback() 387 status = HAL_ERROR; in HAL_RNG_RegisterCallback() 392 return status; in HAL_RNG_RegisterCallback() 408 HAL_StatusTypeDef status = HAL_OK; in HAL_RNG_UnRegisterCallback() local 433 status = HAL_ERROR; in HAL_RNG_UnRegisterCallback() 453 status = HAL_ERROR; in HAL_RNG_UnRegisterCallback() 462 status = HAL_ERROR; in HAL_RNG_UnRegisterCallback() 467 return status; in HAL_RNG_UnRegisterCallback() [all …]
|
/loramac-node-3.4.0/src/boards/mcu/stm32/EEPROM_Emul/Porting/STM32L4/ |
D | flash_interface.c | 77 EE_Status status = EE_OK; in PageErase() local 93 status = EE_ERASE_ERROR; in PageErase() 95 return status; in PageErase() 108 EE_Status status = EE_OK; in PageErase_IT() local 124 status = EE_ERASE_ERROR; in PageErase_IT() 126 return status; in PageErase_IT() 176 EE_Status status = EE_OK; in DeleteCorruptedFlashAddress() local 203 status = EE_DELETE_ERROR; in DeleteCorruptedFlashAddress() 228 return status; in DeleteCorruptedFlashAddress() 242 EE_Status status; in CheckBankConfig() local [all …]
|
/loramac-node-3.4.0/src/boards/NucleoL152/ |
D | i2c-board.c | 110 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local 112 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 114 return status; in I2cMcuWriteBuffer() 119 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local 121 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 123 return status; in I2cMcuReadBuffer() 128 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local 139 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 141 return status; in I2cMcuWriteMemBuffer() 146 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local [all …]
|
/loramac-node-3.4.0/src/boards/NucleoL476/ |
D | i2c-board.c | 112 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local 114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 116 return status; in I2cMcuWriteBuffer() 121 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local 123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 125 return status; in I2cMcuReadBuffer() 130 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local 141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 143 return status; in I2cMcuWriteMemBuffer() 148 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local [all …]
|
/loramac-node-3.4.0/src/boards/NucleoL073/ |
D | i2c-board.c | 112 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local 114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 116 return status; in I2cMcuWriteBuffer() 121 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local 123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 125 return status; in I2cMcuReadBuffer() 130 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local 141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 143 return status; in I2cMcuWriteMemBuffer() 148 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local [all …]
|
/loramac-node-3.4.0/src/boards/NAMote72/ |
D | i2c-board.c | 110 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local 112 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 114 return status; in I2cMcuWriteBuffer() 119 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local 121 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 123 return status; in I2cMcuReadBuffer() 128 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local 139 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 141 return status; in I2cMcuWriteMemBuffer() 146 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local [all …]
|
/loramac-node-3.4.0/src/boards/B-L072Z-LRWAN1/ |
D | i2c-board.c | 112 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteBuffer() local 114 …status = ( HAL_I2C_Master_Transmit( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN… in I2cMcuWriteBuffer() 116 return status; in I2cMcuWriteBuffer() 121 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadBuffer() local 123 …status = ( HAL_I2C_Master_Receive( &I2cHandle, deviceAddr, buffer, size, 2000 ) == HAL_OK ) ? LMN_… in I2cMcuReadBuffer() 125 return status; in I2cMcuReadBuffer() 130 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuWriteMemBuffer() local 141 …status = ( HAL_I2C_Mem_Write( &I2cHandle, deviceAddr, addr, memAddSize, buffer, size, 2000 ) == HA… in I2cMcuWriteMemBuffer() 143 return status; in I2cMcuWriteMemBuffer() 148 LmnStatus_t status = LMN_STATUS_ERROR; in I2cMcuReadMemBuffer() local [all …]
|