Searched refs:masterState (Results 1 – 1 of 1) sorted by relevance
162 uint8_t masterState; member526 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterTxRxDone()535 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE); in stmI2cMasterTxRxDone()553 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterDmaTxDone()616 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_START) { in stmI2cMasterSentStart()618 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_ADDR); in stmI2cMasterSentStart()621 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_ADDR); in stmI2cMasterSentStart()632 uint8_t masterState = atomicReadByte(&state->masterState); in stmI2cMasterSentAddr() local634 if (masterState == STM_I2C_MASTER_TX_ADDR) { in stmI2cMasterSentAddr()638 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_DATA); in stmI2cMasterSentAddr()[all …]