| 62 | } |
| 63 | |
| 64 | uint16_t AXP192::Read12Bit(uint8_t Addr) { |
| 65 | uint16_t Data = 0; |
| 66 | uint8_t buf[2]; |
| 67 | ReadBuff(Addr, 2, buf); |
| 68 | Data = ((buf[0] << 4) + buf[1]); // |
| 69 | return Data; |
| 70 | } |
| 71 | |
| 72 | uint16_t AXP192::Read13Bit(uint8_t Addr) { |
| 73 | uint16_t Data = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected