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 te timer | |
void | EDF_TMR_Stop (TMR_MODULE_ID index) |
stops the timer | |
void | EDF_TMR_CounterSet (TMR_MODULE_ID index, uint16_t value) |
loads the respective period register (PR) register |
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 21 of file OnePIC_8bit_timer.c.
void EDF_TMR_CounterSet | ( | TMR_MODULE_ID | index, |
uint16_t | value | ||
) |
loads the respective period register (PR) register
index | timer to use |
value | period register to load |
Definition at line 141 of file OnePIC_8bit_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 53 of file OnePIC_8bit_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_8bit_timer.c.
void EDF_TMR_Start | ( | TMR_MODULE_ID | index | ) |
starts te timer
index | timer to start |
Definition at line 94 of file OnePIC_8bit_timer.c.
void EDF_TMR_Stop | ( | TMR_MODULE_ID | index | ) |
stops the timer
index | timer to stop |
Definition at line 117 of file OnePIC_8bit_timer.c.
void EDF_TMR_StopInIdleDisable | ( | TMR_MODULE_ID | index | ) |
disables the timer source
index | source to disable |
Definition at line 39 of file OnePIC_8bit_timer.c.