Skip to content

Commit e2c8661

Browse files
committed
doc: add doc for timer get_bits fn
1 parent 99ce285 commit e2c8661

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

embassy-stm32/src/timer/low_level.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ impl<'d, T: CoreInstance> Timer<'d, T> {
235235
self.regs_core().cnt().write(|r| r.set_cnt(0));
236236
}
237237

238+
/// get the capability of the timer
238239
pub fn get_bits(&self) -> TimerBits {
239240
T::BITS
240241
}

0 commit comments

Comments
 (0)