The value of Counter1 is read. If there was an overflow a value of 0xffff is returned.
Return Parameter
counter value
6.19.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
that was passed in the call to
6.19.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.
Parameter
PW0 pulse width
© 2008 Conrad Electronic
Timer_T1PM.
Libraries
208
prescaler Table
Need help?
Do you have a question about the C-Control Pro Mega Series and is the answer not in the manual?
Questions and answers