HomeSort by relevance Sort by last modified time
    Searched full:masterstate (Results 1 - 1 of 1) sorted by null

  /device/google/contexthub/firmware/src/platform/stm32f4xx/
i2c.c 161 uint8_t masterState;
523 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START);
532 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE);
545 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START);
611 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_START) {
613 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_ADDR);
616 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_ADDR);
627 uint8_t masterState = atomicReadByte(&state->masterState);
629 if (masterState == STM_I2C_MASTER_TX_ADDR)
    [all...]

Completed in 372 milliseconds