Searched refs:mode1 (Results 1 – 1 of 1) sorted by relevance
120 uint8_t mode1 = readByte(REG_MODE1); in setModeSleep() local121 uint8_t restartBit = mode1 & MODE1_RESTART; in setModeSleep()124 mode1 |= MODE1_SLEEP; in setModeSleep()126 mode1 &= ~MODE1_SLEEP; in setModeSleep()130 mode1 &= ~MODE1_RESTART; in setModeSleep()132 writeByte(REG_MODE1, mode1); in setModeSleep()142 mode1 |= restartBit; in setModeSleep()143 writeByte(REG_MODE1, mode1); in setModeSleep()151 uint8_t mode1 = readByte(REG_MODE1); in enableAutoIncrement() local154 mode1 |= MODE1_AI; in enableAutoIncrement()[all …]