Instructions

377 C-Control Pro IDE
© 2013 Conrad Electronic
Parameter
period period duration
PW0 pulse width channel A
PW1 pulse width channel B
PS prescaler (see table prescaler)
5.26.1.27 Timer_T1PWMY
Timer Functions
Syntax
void Timer_T1PWMY(word period, word PW0, word PW1, word PW2, byte PS);
Sub Timer_T1PWMY(period As Word, PW0 As Word, PW1 As Word, PW2 As Word,
PS As Byte)
Description
This function initializes Timer_1 with given period duration, prescaler, pulse width for channel A, B and C.
The output signal is generated at
PortB.5 (X1_3) , PortB.6 (X1_2) and PortB.7 (X1_1).
For the pulse width parameters do not use the value zero. See Pulse Width Modulation
Parameter
period period duration
PW0 pulse width channel A
PW1 pulse width channel B
PW2 pulse width channel C
PS prescaler (see table prescaler)
5.26.1.28 Timer_T1Start
Timer Functions
Syntax
void Timer_T1Start(byte prescaler);
Sub Timer_T1Start(prescaler As Byte)
Description
The timer continues with the already set parameters. The prescaler must be given again.