Searched refs:CMD_ACK (Results 1 – 6 of 6) sorted by relevance
95 } while (ret != CMD_ACK && ret != CMD_NACK); in read_ack_loop()108 if (ret != CMD_ACK) in erase_sector()125 if (ret != CMD_ACK) in erase_sector()136 uint8_t ret = CMD_ACK; in read_memory()139 while (ret == CMD_ACK && length > offset) { in read_memory()142 if (ret == CMD_ACK) { in read_memory()145 if (ret == CMD_ACK) { in read_memory()149 if (ret == CMD_ACK) { in read_memory()156 if (ret == CMD_ACK) { in read_memory()171 uint8_t ret = CMD_ACK; in write_memory()[all …]
36 return CMD_ACK; in uart_write_data()51 return CMD_ACK; in uart_write_cmd()69 return CMD_ACK; in uart_read_data()76 if (handle->read_data(handle, &buffer, sizeof(uint8_t)) == CMD_ACK) in uart_read_ack()122 if (uart_read_ack(handle) == CMD_ACK) in uart_init()
61 return CMD_ACK; in spi_write_cmd()89 return CMD_ACK; in spi_read_data()115 } while (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout > 0); in spi_read_ack()117 if (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout == 0) in spi_read_ack()185 if (spi_sync(handle) == CMD_ACK) in spi_init()
33 return CMD_ACK; in i2c_write_data()53 return CMD_ACK; in i2c_read_data()62 if (handle->read_data(handle, &buffer, sizeof(uint8_t)) == CMD_ACK) in i2c_read_ack()
202 if (ret == CMD_ACK) in main()259 if (ret == CMD_ACK) in main()280 if (ret == CMD_ACK) { in main()294 if (ret == CMD_ACK) { in main()304 if (ret == CMD_ACK) { in main()
71 #define CMD_ACK 0x79 macro