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

Real Time Clock #1

Merged
merged 11 commits into from
Dec 23, 2018
Merged

Real Time Clock #1

merged 11 commits into from
Dec 23, 2018

Conversation

lucasbrendel
Copy link
Contributor

API's for the RTC set of registers

@lucasbrendel lucasbrendel self-assigned this Dec 23, 2018
@lucasbrendel lucasbrendel added the enhancement New feature or request label Dec 23, 2018
@todo
Copy link

todo bot commented Dec 23, 2018

Not sure if this is fully correct. The C code does a single struct assignment.

xmc4-hal/src/rtc.rs

Lines 169 to 174 in 7c34e07

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.tim0.modify(|_, w| unsafe {
w.se().bits(time.second);
w.mi().bits(time.minute);
w.ho().bits(time.hour);
w.da().bits(time.day)


This comment was generated by todo based on a TODO comment in 7c34e07 in #1. cc @xmc-rs.

@todo
Copy link

todo bot commented Dec 23, 2018

Not sure if this is fully correct. The C code does a single struct assignment.

xmc4-hal/src/rtc.rs

Lines 169 to 174 in ae5cfe6

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.tim0.modify(|_, w| unsafe {
w.se().bits(time.second);
w.mi().bits(time.minute);
w.ho().bits(time.hour);
w.da().bits(time.day)


This comment was generated by todo based on a TODO comment in ae5cfe6 in #1. cc @xmc-rs.

@todo
Copy link

todo bot commented Dec 23, 2018

Not sure if this is fully correct. The C code does a single struct assignment.

xmc4-hal/src/rtc.rs

Lines 169 to 174 in 975803b

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.tim0.modify(|_, w| unsafe {
w.se().bits(time.second);
w.mi().bits(time.minute);
w.ho().bits(time.hour);
w.da().bits(time.day)


This comment was generated by todo based on a TODO comment in 975803b in #1. cc @xmc-rs.

@todo
Copy link

todo bot commented Dec 23, 2018

Not sure if this is fully correct. The C code does a single struct assignment.

xmc4-hal/src/rtc.rs

Lines 225 to 230 in 7c34e07

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.atim0.modify(|_, w| unsafe {
w.ase().bits(time.second);
w.ami().bits(time.minute);
w.aho().bits(time.hour);
w.ada().bits(time.day)


This comment was generated by todo based on a TODO comment in 7c34e07 in #1. cc @xmc-rs.

@todo
Copy link

todo bot commented Dec 23, 2018

Not sure if this is fully correct. The C code does a single struct assignment.

xmc4-hal/src/rtc.rs

Lines 225 to 230 in 975803b

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.atim0.modify(|_, w| unsafe {
w.ase().bits(time.second);
w.ami().bits(time.minute);
w.aho().bits(time.hour);
w.ada().bits(time.day)


This comment was generated by todo based on a TODO comment in 975803b in #1. cc @xmc-rs.

@todo
Copy link

todo bot commented Dec 23, 2018

Not sure if this is fully correct. The C code does a single struct assignment.

xmc4-hal/src/rtc.rs

Lines 225 to 230 in ae5cfe6

// TODO: Not sure if this is fully correct. The C code does a single struct assignment.
rtc.atim0.modify(|_, w| unsafe {
w.ase().bits(time.second);
w.ami().bits(time.minute);
w.aho().bits(time.hour);
w.ada().bits(time.day)


This comment was generated by todo based on a TODO comment in ae5cfe6 in #1. cc @xmc-rs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant