Instructions
378Libraries
© 2013 Conrad Electronic
Parameter
prescaler prescaler (see table)
5.26.1.29 Timer_T1Stop
Timer Functions
Syntax
void Timer_T1Stop(void);
Sub Timer_T1Stop()
Description
The frequency generation gets stopped. The output signal can be 0 or 1, dependent on the last state. Only
the clock generation is stopped, all other settings stay the same.
Parameter
None
5.26.1.30 Timer_T1Time
Timer Functions
Syntax
void Timer_T1Time(word Time, byte PS);
Sub Timer_T1Time(Time As Word, PS As Byte)
Description
This function initializes Timer_1 with a prescaler and a timer interval value (16bit), see table. After the tim-
ing interval is expired Timer_1 Interrupt (INT_TIM1CMPA) is triggered. There is an extended prescaler
definition for the Mega128, see table.
Parameter
Time time period after that the interrupt is triggered
PS prescaler
Table prescaler:
Prescaler
Tickduration Mega32 + Mega128
Tickduration Mega128 CAN