mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 06:40:32 +00:00
doc: add doc for timer get_bits fn
This commit is contained in:
parent
99ce285397
commit
e2c866119f
@ -235,6 +235,7 @@ impl<'d, T: CoreInstance> Timer<'d, T> {
|
|||||||
self.regs_core().cnt().write(|r| r.set_cnt(0));
|
self.regs_core().cnt().write(|r| r.set_cnt(0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// get the capability of the timer
|
||||||
pub fn get_bits(&self) -> TimerBits {
|
pub fn get_bits(&self) -> TimerBits {
|
||||||
T::BITS
|
T::BITS
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user