File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -646,15 +646,15 @@ impl SCB {
646
646
647
647
/// Set the PENDSTCLR bit in the ICSR register which will clear a pending SysTick interrupt
648
648
#[ inline]
649
- pub fn set_systick ( & mut self ) {
649
+ pub fn set_pendst ( ) {
650
650
unsafe {
651
651
( * Self :: ptr ( ) ) . icsr . write ( SCB_ICSR_PENDSTSET ) ;
652
652
}
653
653
}
654
654
655
655
/// Check if PENDSTSET bit in the ICSR register is set meaning SysTick interrupt is pending
656
656
#[ inline]
657
- pub fn is_systick_pending ( ) -> bool {
657
+ pub fn is_pendst_pending ( ) -> bool {
658
658
unsafe {
659
659
( * Self :: ptr ( ) ) . icsr . read ( ) & SCB_ICSR_PENDSTSET == SCB_ICSR_PENDSTSET
660
660
}
@@ -663,7 +663,7 @@ impl SCB {
663
663
664
664
/// Set the PENDSTCLR bit in the ICSR register which will clear a pending SysTick interrupt
665
665
#[ inline]
666
- pub fn clear_systick_pending ( & mut self ) {
666
+ pub fn clear_pendst ( ) {
667
667
unsafe {
668
668
( * Self :: ptr ( ) ) . icsr . write ( SCB_ICSR_PENDSTCLR ) ;
669
669
}
You can’t perform that action at this time.
0 commit comments