pub fn tick_in(&mut self, us: u32) {
        let current_low = Volatile::new_read_only(&mut self.registers.CLO).read();
        let compare = current_low.wrapping_add(us);
        Volatile::new_write_only(&mut self.registers.COMPARE[1]).write(compare); // timer 1
        Volatile::new(&mut self.registers.CS).update(|x| *x |= 0b0010); // clear timer 1 interrupt
    }
/// Sets up a match in timer 1 to occur `us` microseconds from now. If
/// interrupts for timer 1 are enabled and IRQs are unmasked, then a timer
/// interrupt will be issued in `us` microseconds.
Sets up a match in timer 1 to occur `us` microseconds from now. If
interrupts for timer 1 are enabled and IRQs are unmasked, then a timer
interrupt will be issued in `us` microseconds.
Sets up a match in timer 1 to occur ` us ` microseconds from now . If interrupts for timer 1 are enabled and IRQs are unmasked then a timer interrupt will be issued in ` us ` microseconds .
pub fn tick_in(&mut self, us: u32) {
        let current_low = Volatile::new_read_only(&mut self.registers.CLO).read();
        let compare = current_low.wrapping_add(us);
        Volatile::new_write_only(&mut self.registers.COMPARE[1]).write(compare); // timer 1
        Volatile::new(&mut self.registers.CS).update(|x| *x |= 0b0010); // clear timer 1 interrupt
    }
pub fn tick_in ( & mut self , us : u32 ) { let current_low = Volatile :: new_read_only ( & mut self . registers . CLO ) . read ( ) ; let compare = current_low . wrapping_add ( us ) ; Volatile :: new_write_only ( & mut self . registers . COMPARE [ 1 ] ) . write ( compare ) ; // timer 1 Volatile :: new ( & mut self . registers . CS ) . update ( | x | * x |= 0b0010 ) ; // clear timer 1 interrupt }
Sets up a match in timer 1 to occur `us` microseconds from now.
Sets up a match in timer 1 to occur ` us ` microseconds from now .
&mut self
us
u32