Home
last modified time | relevance | path

Searched refs:ret_code (Results 1 – 5 of 5) sorted by relevance

/lk-master/external/platform/lpc15xx/lpcopen/periph_flashiap/example/src/
A Dflashiap.c88 uint8_t ret_code; in main() local
113 ret_code = Chip_IAP_PreSectorForReadWrite(IAP_LAST_SECTOR, IAP_LAST_SECTOR); in main()
116 if (ret_code != IAP_CMD_SUCCESS) { in main()
117 DEBUGOUT("Command failed to execute, return code is: %x\r\n", ret_code); in main()
121 ret_code = Chip_IAP_EraseSector(IAP_LAST_SECTOR, IAP_LAST_SECTOR); in main()
124 if (ret_code != IAP_CMD_SUCCESS) { in main()
125 DEBUGOUT("Command failed to execute, return code is: %x\r\n", ret_code); in main()
132 if (ret_code != IAP_CMD_SUCCESS) { in main()
133 DEBUGOUT("Command failed to execute, return code is: %x\r\n", ret_code); in main()
140 if (ret_code != IAP_CMD_SUCCESS) { in main()
[all …]
/lk-master/external/platform/nrfx/drivers/src/prs/
A Dnrfx_prs.c40 #define LOG_FUNCTION_EXIT(level, ret_code) \ argument
43 NRFX_LOG_ERROR_STRING_GET(ret_code))
112 nrfx_err_t ret_code; in nrfx_prs_acquire() local
133 ret_code = NRFX_ERROR_BUSY; in nrfx_prs_acquire()
134 LOG_FUNCTION_EXIT(WARNING, ret_code); in nrfx_prs_acquire()
135 return ret_code; in nrfx_prs_acquire()
139 ret_code = NRFX_SUCCESS; in nrfx_prs_acquire()
140 LOG_FUNCTION_EXIT(INFO, ret_code); in nrfx_prs_acquire()
141 return ret_code; in nrfx_prs_acquire()
/lk-master/external/platform/lpc15xx/lpcopen/periph_eeprom/example/src/
A Deeprom.c158 uint8_t ret_code; in main() local
172 ret_code = Chip_EEPROM_Read(EEPROM_ADDRESS, ptr, IAP_NUM_BYTES_TO_READ_WRITE); in main()
175 if (ret_code != IAP_CMD_SUCCESS) { in main()
176 DEBUGOUT("Command failed to execute, return code is: %x\r\n", ret_code); in main()
186 ret_code = Chip_EEPROM_Write(EEPROM_ADDRESS, ptr, IAP_NUM_BYTES_TO_READ_WRITE); in main()
189 if (ret_code == IAP_CMD_SUCCESS) { in main()
193 DEBUGOUT("EEPROM write failed, return code is: %x\r\n", ret_code); in main()
/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_twi.c425 nrfx_err_t ret_code = NRFX_SUCCESS; in twi_tx_start_transfer() local
472 ret_code = twi_process_error(errorsrc); in twi_tx_start_transfer()
476 ret_code = NRFX_ERROR_INTERNAL; in twi_tx_start_transfer()
484 ret_code = NRFX_ERROR_INTERNAL; in twi_tx_start_transfer()
488 return ret_code; in twi_tx_start_transfer()
494 nrfx_err_t ret_code = NRFX_SUCCESS; in twi_rx_start_transfer() local
545 ret_code = twi_process_error(errorsrc); in twi_rx_start_transfer()
549 ret_code = NRFX_ERROR_INTERNAL; in twi_rx_start_transfer()
556 ret_code = NRFX_ERROR_INTERNAL; in twi_rx_start_transfer()
559 return ret_code; in twi_rx_start_transfer()
A Dnrfx_qspi.c303 nrfx_err_t ret_code; in nrfx_qspi_mem_busy_check() local
309 ret_code = nrfx_qspi_cinstr_xfer(&config, &status_value, &status_value); in nrfx_qspi_mem_busy_check()
311 if (ret_code != NRFX_SUCCESS) in nrfx_qspi_mem_busy_check()
313 return ret_code; in nrfx_qspi_mem_busy_check()

Completed in 10 milliseconds