| 273 | } |
| 274 | |
| 275 | uint16_t AXP192::GetVapsData(void) { |
| 276 | uint16_t vaps = 0; |
| 277 | uint8_t buf[2]; |
| 278 | ReadBuff(0x7e, 2, buf); |
| 279 | vaps = ((buf[0] << 4) + buf[1]); |
| 280 | return vaps; |
| 281 | } |
| 282 | |
| 283 | void AXP192::SetSleep(void) { |
| 284 | Write1Byte(0x31, Read8bit(0x31) | (1 << 3)); |
nothing calls this directly
no outgoing calls
no test coverage detected