aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf/src/bin/timer.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-01-19 16:45:56 +0000
committerGitHub <[email protected]>2022-01-19 16:45:56 +0000
commit071b034a5dbece727b28aee6362e36d66bcb763b (patch)
tree8c2dc791aa16ac8707df0235f321c50b95d53f0c /examples/nrf/src/bin/timer.rs
parent8fb11bcd9b0ea5df2c97751c04f32fcb6f03a943 (diff)
parent4988dfe98175f5d92d896edd2b9ee774a91b28d5 (diff)
Merge #582
582: Make advanced timer trait not require general purpose timer trait as … r=Dirbaio a=matoushybl …the timers are too different. When developing pwm driver, I originally used T: GeneralPurpose16bitTimer as it could support both GP timers and advanced timer, but advanced timer requires further modifications in registers accessible only in it (BDTR - bit AOE). This PR makes advanced timers depend on Basic16bitTimer instead, which should hopefully improve type safety and allow for better timer drivers that can distinguish between advanced timers and general purpose ones. Co-authored-by: Matous Hybl <[email protected]>
Diffstat (limited to 'examples/nrf/src/bin/timer.rs')
0 files changed, 0 insertions, 0 deletions