Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/src/pca9685/
Dpca9685.cxx120 uint8_t mode1 = readByte(REG_MODE1); in setModeSleep() local
121 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() local
154 mode1 |= MODE1_AI; in enableAutoIncrement()
[all …]