Instructions
383 C-Control Pro IDE
© 2013 Conrad Electronic
PS_1024 (5)
69,44 µs
64 µs
5.26.1.39 Timer_T3PWB
Timer Functions
Syntax
void Timer_T3PWB(word PW1);
Sub Timer_T3PWB(PW1 As Word)
Description
This function sets a new pulse width (Channel B) for Timer3 without changing the prescaler.
For the pulse width parameters do not use the value zero. See Pulse Width Modulation
Parameter
PW1 pulse width
5.26.1.40 Timer_T3PWM
Timer Functions
Syntax
void Timer_T3PWM(word period, word PW0, byte PS);
Sub Timer_T3PWM(period As Word, PW0 As Word, PS As Byte)
Description
This function initializes Timer_3 with given period duration, pulse width and prescaler, see table. The out-
put signal is generated at PortE.3 (X1_13).
For the pulse width parameters do not use the value zero. See Pulse Width Modulation
Parameter
period period duration
PW0 pulse width
PS prescaler
Table prescaler:
Prescaler
Tickduration Mega128
Tickduration Mega128 CAN