Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
/ rtc Public archive

Driver for the Maxim Integrated DS3231M I2C RTC

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

cryptotronix/rtc

Repository files navigation

rtc

Build Status

rtc is an user-space CLI application for embedded Real-Time Clocks (RTCs). Currently, only one rtc is support, however this program can be extended for other devices.

Driver for the Maxim Integrated DS3231M I2C RTC. This utility can be used to set and read the time from the Maxim Integrated DS3231M I2C RTC, further known as the DS3231M.

The data sheet for DS3231M can be found on Maxim Integrated Website. The device is high-accuracy real-time clock with on board oscillator, that is accessible over I2C. The device can also support a battery backup.

Commands

The current commands implemented are date and set-date. See the following example:

debian@arm:~/repos/rtc$ rtc set-date
debian@arm:~/repos/rtc$ echo $?
0
debian@arm:~/repos/rtc$ rtc date
Thu Jan  2 01:35:37 2014

Options

The default i2c bus is /dev/i2c-1, however this can be changed with the -b, --bus option.

About

Driver for the Maxim Integrated DS3231M I2C RTC

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published