EDF - OnePIC MCU
v1.1.0
|
![]() |
Functions | |
void | EDF_TMR_ClockSourceSelect (TMR_MODULE_ID index, EDF_TMR_CLOCK_SOURCE source) |
selects whether or not the source will be internal or external | |
void | EDF_TMR_StopInIdleDisable (TMR_MODULE_ID index) |
disables the timer source | |
void | EDF_TMR_GateDisable (TMR_MODULE_ID index) |
disables the timer's gate if used | |
void | EDF_TMR_PrescalerSet (TMR_MODULE_ID index, EDF_TMR_PRESCALE prescaler) |
sets the prescaler for the timer | |
void | EDF_TMR_Start (TMR_MODULE_ID index) |
starts the timer | |
void | EDF_TMR_Period16BitSet (TMR_MODULE_ID index, uint16_t PeriodValue) |
sets the 16bit timer used for TMR1 | |
void | EDF_TMR_Stop (TMR_MODULE_ID index) |
stops the timer | |
void | EDF_TMR_Counter16BitSet (TMR_MODULE_ID index, uint16_t value) |
set the 16bit timer (TMR1) |
void EDF_TMR_ClockSourceSelect | ( | TMR_MODULE_ID | index, |
EDF_TMR_CLOCK_SOURCE | source | ||
) |
selects whether or not the source will be internal or external
index | determines the source of the timer |
source | what is to be used? |
Definition at line 23 of file OnePIC_16bit_timer.c.
void EDF_TMR_Counter16BitSet | ( | TMR_MODULE_ID | index, |
uint16_t | value | ||
) |
set the 16bit timer (TMR1)
index | timer to stop |
value | timer value to assign to TMR1 |
Definition at line 130 of file OnePIC_16bit_timer.c.
void EDF_TMR_GateDisable | ( | TMR_MODULE_ID | index | ) |
disables the timer's gate if used
index | source to disable their gate |
Definition at line 52 of file OnePIC_16bit_timer.c.
void EDF_TMR_Period16BitSet | ( | TMR_MODULE_ID | index, |
uint16_t | PeriodValue | ||
) |
sets the 16bit timer used for TMR1
index | timer to start |
PeriodValue | PR value to assign |
Definition at line 99 of file OnePIC_16bit_timer.c.
void EDF_TMR_PrescalerSet | ( | TMR_MODULE_ID | index, |
EDF_TMR_PRESCALE | prescaler | ||
) |
sets the prescaler for the timer
index | timer to edit |
prescaler | sets the prescaler for the respective timer |
Definition at line 68 of file OnePIC_16bit_timer.c.
void EDF_TMR_Start | ( | TMR_MODULE_ID | index | ) |
starts the timer
starts te timer
index | timer to start |
Definition at line 83 of file OnePIC_16bit_timer.c.
void EDF_TMR_Stop | ( | TMR_MODULE_ID | index | ) |
void EDF_TMR_StopInIdleDisable | ( | TMR_MODULE_ID | index | ) |
disables the timer source
index | source to disable |
Definition at line 37 of file OnePIC_16bit_timer.c.