The driver looks broken regarding alarms, the high level assumes that alarms go from 0 to N-1, for some reason the low level assumes 1..N.
I am going to use the 0..N-1 convention also used in other driver for other indexed things.
Giovanni
[DONE] stm32f0 RTC support
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times