| 63 | } |
| 64 | |
| 65 | uint8_t pcf85063_RTC::Bcd2ToByte(uint8_t Value) { |
| 66 | uint8_t tmp = 0; |
| 67 | tmp = ((uint8_t)(Value & (uint8_t)0xF0) >> (uint8_t)0x4) * 10; |
| 68 | return (tmp + (Value & (uint8_t)0x0F)); |
| 69 | } |
| 70 | |
| 71 | uint8_t pcf85063_RTC::ByteToBcd2(uint8_t Value) { |
| 72 | uint8_t bcdhigh = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected