Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for setting and reading alarm #4

Merged
merged 7 commits into from
Jun 4, 2020
Merged

Add support for setting and reading alarm #4

merged 7 commits into from
Jun 4, 2020

Conversation

tuupola
Copy link
Owner

@tuupola tuupola commented Jun 3, 2020

No description provided.

struct tm out = {0};
struct tm in = {0};

out.tm_min = 30;
out.tm_hour = 12;
out.tm_mday = BM8563_ALARM_DISABLE;
out.tm_wday = BM8563_ALARM_DISABLE;

bm8563_ioctl(&bm, BM8563_ALARM_SET, &out);
...
bm8563_ioctl(&bm, BM8563_ALARM_READ, &in);
@tuupola tuupola merged commit e51fc97 into master Jun 4, 2020
@tuupola tuupola deleted the alarm branch June 4, 2020 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant