public async Task Resume()
{
byte[] readBuffer = new byte[1];
byte[] writeBuffer = new byte[] { RTC_ADDRESS };
// ***
// *** Read the seconds
// ***
await this.WriteReadAsync(writeBuffer, readBuffer);
int seconds = Bcd.ToInt((byte)(readBuffer[0] & 0x7f));
// ***
// *** Reset bit 7
// ***
writeBuffer = new byte[] { RTC_ADDRESS, (byte)(seconds & 0x80) };
await this.WriteAsync(writeBuffer);
}