Instructions

374Libraries
© 2013 Conrad Electronic
Return Parameter
counter value
5.26.1.21 Timer_T1GetPM
Timer Functions
Syntax
word Timer_T1GetPM(void);
Sub Timer_T1GetPM() As Word
Description
Returns the result of the measurement.
Parameter
None
Return Parameter
result of measurement
To calculate the correct value, the 16bit result is multiplied with the entry of the prescaler Table
that was passed in the call to Timer_T1PM.
5.26.1.22 Timer_T1PWA
Timer Functions
Syntax
void Timer_T1PWA(word PW0);
Sub Timer_T1PWA(PW0 As Word)
Description
This function sets a new pulse width (Channel A) for Timer1 without changing the prescaler.
For the pulse-width parameters do not use the value zero. See Pulse Width Modulation
Parameter
PW0 pulse width