avg
0c65b29b39
aw_pwm: add a check and some comments related to long periods
...
The hardware supports periods as long as 196 seconds[*] when using the
maximal prescaling of 72000 and maximum cycle count of 2^16.
But the code becomes incorrect when the period length approaches 1 second.
That's because of things like NS_PER_SEC / period.
[*] At the same time I must note that the KPI provides for maximum
period of about 4 seconds (2^32 nanoseconds).
MFC after: 2 weeks
2020-09-25 07:41:51 +00:00
..
2020-09-01 21:17:24 +00:00
2020-01-19 19:14:49 +00:00
2020-09-01 21:17:24 +00:00
2020-01-19 19:14:49 +00:00
2020-01-19 19:14:49 +00:00
2020-01-19 19:14:49 +00:00
2020-01-19 19:14:49 +00:00
2020-09-07 06:27:18 +00:00
2020-01-19 19:14:49 +00:00
2020-01-19 19:14:49 +00:00
2020-09-01 21:17:24 +00:00
2020-09-01 21:17:24 +00:00
2019-05-20 00:38:23 +00:00
2019-12-03 21:05:33 +00:00
2019-12-03 21:05:33 +00:00
2020-09-01 21:17:24 +00:00
2020-09-01 21:17:24 +00:00
2019-06-10 23:25:40 +00:00
2019-05-20 00:38:23 +00:00
2020-01-19 19:14:49 +00:00
2019-12-03 21:05:33 +00:00
2020-08-12 09:57:28 +00:00
2020-09-01 21:17:24 +00:00
2019-12-03 21:05:33 +00:00
2020-01-19 19:51:20 +00:00
2020-06-19 18:34:27 +00:00
2020-09-01 21:17:24 +00:00
2019-12-03 21:00:45 +00:00
2020-09-01 21:17:24 +00:00
2019-12-03 21:00:45 +00:00
2020-09-20 16:11:38 +00:00
2020-09-25 07:41:51 +00:00
2019-12-03 21:05:33 +00:00
2019-12-03 21:05:33 +00:00
2020-09-01 21:17:24 +00:00
2020-04-15 13:35:28 +00:00
2019-12-03 21:05:33 +00:00
2020-01-02 17:39:21 +00:00
2019-08-10 17:58:30 +00:00
2020-04-14 19:05:17 +00:00
2020-02-24 10:45:22 +00:00
2019-10-14 21:58:46 +00:00
2020-09-21 10:02:11 +00:00
2020-09-01 21:17:24 +00:00
2020-09-01 21:17:24 +00:00
2020-09-01 21:17:24 +00:00
2020-09-01 21:17:24 +00:00
2020-09-01 21:17:24 +00:00
2020-09-07 06:39:00 +00:00
2019-12-03 21:05:33 +00:00
2019-12-03 21:05:33 +00:00
2020-09-01 21:17:24 +00:00