This file contains the low level functions (drivers) of 10-bit High Speed timer. More...
#include "config.h"#include "timerhs_drv.h"
Go to the source code of this file.
Functions | |
| U16 | timerhs_get_counter (void) |
| This function READ the hs-bit TIMER counter. | |
This file contains the low level functions (drivers) of 10-bit High Speed timer.
Definition in file timerhs_drv.c.
| U16 timerhs_get_counter | ( | void | ) |
This function READ the hs-bit TIMER counter.
This function READ the 16-bit TIMER counter.
Definition at line 65 of file timerhs_drv.c.
References Timerhs_get_counter_high, and Timerhs_get_counter_low.
{
U16 u16_temp;
u16_temp = Timerhs_get_counter_low();
u16_temp |= (Timerhs_get_counter_high() << 8 );
return u16_temp;
}
1.7.2