Home
last modified time | relevance | path

Searched refs:CMD_ACK (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/util/stm32_flash/
Dstm32_bl.c95 } 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 …]
Duart.c36 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()
Dspi.c61 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()
Di2c.c33 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()
Dflash.c202 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()
Dstm32_bl.h71 #define CMD_ACK 0x79 macro