217
C-Control Pro Mega Series
© 2008 Conrad Electronic
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
pulse width measurement or period measurement should be done.
Then it
initializes Timer_3 and sets the prescaler.
Parameter
Mode 0 = pulse width measurement, 1 = period measurement
PS
prescaler
Table prescaler:
Prescaler
Time Base (duration of a tick)
PS0_1 (1)
67,8 ns
PS0_8 (2)
542,5 ns
PS0_32 (3)
2,17 µs
PS0_64 (4)
4,34 µs
PS0_128 (5)
8,68 µs
PS0_256 (6)
17,36 µs
PS0_1024 (7)
69,44 µs
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
Содержание C-Control Pro Mega Series
Страница 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Страница 9: ...VIII Inhalt 2008 Conrad Electronic ...
Страница 10: ...Part 1 ...
Страница 17: ...Part 2 ...
Страница 23: ...Part 3 ...
Страница 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Страница 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Страница 58: ...Part 4 ...
Страница 91: ...82 IDE 2008 Conrad Electronic ...
Страница 92: ...Part 5 ...
Страница 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Страница 136: ...Part 6 ...
Страница 231: ...Part 7 ...
Страница 240: ......