Timer_T0Getcnt; Timer_T0Pw - Conrad C-Control Pro Mega Series Manual

Table of Contents

Advertisement

PS0_1 (1)
PS0_8 (2)
PS0_32 (3)
PS0_64 (4)
PS0_128 (5)
PS0_256 (6)
PS0_1024 (7)

6.19.10 Timer_T0GetCNT

Timer Functions
Syntax
byte Timer_T0GetCNT(void);
Sub Timer_T0GetCNT() As Byte
Description
The value of Counter0 is read. If there was an overflow a value of 0xff is returned.
Due to hardware reasons it is not possible to use Timer_0 as a counter in the Mega128!
Return Parameter
counter value

6.19.11 Timer_T0PW

Timer Functions
Syntax
void Timer_T0PW(byte PW);
Sub Timer_T0PW(PW As Byte)
Description
This function sets a new pulse width for Timer0 without changing the prescaler.
Parameter
PW pulse width
© 2008 Conrad Electronic
135,6 ns
1,085 µs
4,340 µs
8,681 µs
17,36 µs
34,72 µs
138,9 µs
Libraries
202

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

C-control pro mega32C-control pro mega128

Table of Contents