This file contains the low level functions (drivers) of 16-bit Timer(s) More...
#include "config.h"#include "timer16_drv.h"
Go to the source code of this file.
Functions | |
| U16 | timer16_get_counter (void) |
| This function READ the 16-bit TIMER counter. | |
| U16 | timer16_get_capture (void) |
| This function READ the 16-bit TIMER capture register. | |
This file contains the low level functions (drivers) of 16-bit Timer(s)
Definition in file timer16_drv.c.
| U16 timer16_get_counter | ( | void | ) |
This function READ the 16-bit TIMER counter.
Definition at line 66 of file timer16_drv.c.
{
U16 u16_temp;
u16_temp = Timer16_get_counter_low();
u16_temp |= (Timer16_get_counter_high() << 8 );
return u16_temp;
}
| U16 timer16_get_capture | ( | void | ) |
This function READ the 16-bit TIMER capture register.
Definition at line 87 of file timer16_drv.c.
{
U16 u16_temp;
u16_temp = Timer16_get_capture_low();
u16_temp |= (Timer16_get_capture_high() << 8 );
return u16_temp;
}
1.7.2