Revision 257
updated timer rtc_add_function and implemented a rtc_remove_function
time.h | ||
---|---|---|
47 | 47 |
/** @brief Get the value of the realtime clock. **/ |
48 | 48 |
int rtc_get(void); |
49 | 49 |
|
50 |
int add_function(int prescale_opt, void *rtc_f (void));
|
|
50 |
int rtc_add_function(void (*rtc_f) (void), int prescale_opt);
|
|
51 | 51 |
|
52 |
int rtc_init(int prescale_opt, void *rtc_func(void)); |
|
52 |
int rtc_remove_function(void (*rtc_func)(void)); |
|
53 |
int rtc_get_function_count(void); |
|
53 | 54 |
|
55 |
int rtc_init(int prescale_opt, void (*rtc_func)(void)); |
|
56 |
|
|
54 | 57 |
/** @} **/ |
55 | 58 |
|
56 | 59 |
#endif |
Also available in: Unified diff