mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-29 21:31:08 +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));
|
||||
}
|
||||
|
||||
/// get the capability of the timer
|
||||
pub fn get_bits(&self) -> TimerBits {
|
||||
T::BITS
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user