diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-01-19 16:45:56 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-19 16:45:56 +0000 |
| commit | 071b034a5dbece727b28aee6362e36d66bcb763b (patch) | |
| tree | 8c2dc791aa16ac8707df0235f321c50b95d53f0c /examples/std/src/tuntap.rs | |
| parent | 8fb11bcd9b0ea5df2c97751c04f32fcb6f03a943 (diff) | |
| parent | 4988dfe98175f5d92d896edd2b9ee774a91b28d5 (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/std/src/tuntap.rs')
0 files changed, 0 insertions, 0 deletions
