Revision 15
Finished set_frequency
lab2.c | ||
---|---|---|
37 | 37 |
} |
38 | 38 |
|
39 | 39 |
int(timer_test_time_base)(uint8_t timer, uint32_t freq) { |
40 |
/* To be implemented by the students */ |
|
41 |
printf("%s is not yet implemented!\n", __func__); |
|
40 |
if (timer_set_frequency(timer, freq)) return 1; |
|
42 | 41 |
|
43 |
return 1;
|
|
42 |
return 0;
|
|
44 | 43 |
} |
45 | 44 |
|
46 | 45 |
int(timer_test_int)(uint8_t time) { |
Also available in: Unified diff