File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,9 @@ macro_rules! hal {
263
263
// Additionally, the LPTIM peripheral will always be in the enabled state when this code is called
264
264
self . lptim. cmp. write( |w| unsafe { w. bits( value as u32 ) } ) ;
265
265
266
- // wait for compare register update ok interrupt to be signalled (RM0394 Rev 4, sec. 30.7.1, Bit 4)
266
+ // wait for compare register update ok interrupt to be signalled
267
+ // (see RM0394 Rev 4, sec 30.4.10 for further explanation and
268
+ // sec. 30.7.1, Bit 4 for register field description)
267
269
while self . lptim. isr. read( ) . cmpok( ) . bit_is_clear( ) { }
268
270
}
269
271
@@ -280,7 +282,9 @@ macro_rules! hal {
280
282
. arr
281
283
. write( |w| unsafe { w. bits( arr_value as u32 ) } ) ;
282
284
283
- // wait for autoreload write ok interrupt to be signalled (RM0394 Rev 4, sec. 30.7.1, Bit 4)
285
+ // wait for autoreload write ok interrupt to be signalled
286
+ // (see RM0394 Rev 4, sec 30.4.10 for further explanation and
287
+ // sec. 30.7.1, Bit 4 for register field description)
284
288
while self . lptim. isr. read( ) . arrok( ) . bit_is_clear( ) { }
285
289
}
286
290
You can’t perform that action at this time.
0 commit comments