OXYGENHUB
◆ main x16-emulator / src / rtc.h
326 B · Objective-C · last changed chore(): initial commit 15 days ago source blame history raw
1
// Commander X16 Emulator
2
// Copyright (c) 2021 Michael Steil
3
// All rights reserved. License: 2-clause BSD
4
5
#ifndef _RTC_H_
6
#define _RTC_H_
7
8
#include <stdint.h>
9
10
void rtc_i2c_data(uint8_t v);
11
void rtc_init(bool set_system_time);
12
void rtc_set_system_time();
13
void rtc_step(int c);
14
uint8_t rtc_read();
15
void rtc_write();
16
17
#endif