Timer_T3Pm; Timer_T3Pwb - Conrad C-Control Pro Mega Series Manual

Table of Contents

Advertisement

217
C-Control Pro Mega Series

6.19.38 Timer_T3PM

Timer Functions
Syntax
void Timer_T3PM(byte Mode,byte PS);
void Timer_T3PM(Mode As Byte,PS As Byte)
Description
This function defines if
initializes Timer_3 and sets the prescaler.
Parameter
Mode 0 = pulse width measurement, 1 = period measurement
PS
prescaler
Table prescaler:
Prescaler
PS0_1 (1)
PS0_8 (2)
PS0_32 (3)
PS0_64 (4)
PS0_128 (5)
PS0_256 (6)
PS0_1024 (7)

6.19.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.
Parameter
pulse width measurement or period measurement should be done.
Time Base (duration of a tick)
67,8 ns
542,5 ns
2,17 µs
4,34 µs
8,68 µs
17,36 µs
69,44 µs
Then it
© 2008 Conrad Electronic

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

This manual is also suitable for:

C-control pro mega32C-control pro mega128

Table of Contents