Searched refs:masterState (Results 1 – 1 of 1) sorted by relevance
161 uint8_t masterState; member523 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterTxRxDone()532 atomicWriteByte(&state->masterState, STM_I2C_MASTER_IDLE); in stmI2cMasterTxRxDone()545 atomicWriteByte(&state->masterState, STM_I2C_MASTER_START); in stmI2cMasterDmaTxDone()611 if (atomicReadByte(&state->masterState) == STM_I2C_MASTER_START) { in stmI2cMasterSentStart()613 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_ADDR); in stmI2cMasterSentStart()616 atomicWriteByte(&state->masterState, STM_I2C_MASTER_RX_ADDR); in stmI2cMasterSentStart()627 uint8_t masterState = atomicReadByte(&state->masterState); in stmI2cMasterSentAddr() local629 if (masterState == STM_I2C_MASTER_TX_ADDR) { in stmI2cMasterSentAddr()633 atomicWriteByte(&state->masterState, STM_I2C_MASTER_TX_DATA); in stmI2cMasterSentAddr()[all …]