215
C-Control Pro Mega Series
© 2008 Conrad Electronic
Table prescaler:
Prescaler
Time Base (duration of a tick)
PS0_1 (1)
135,6 ns
PS0_8 (2)
1,085 µs
PS0_32 (3)
4,340 µs
PS0_64 (4)
8,681 µs
PS0_128 (5)
17,36 µs
PS0_256 (6)
34,72 µs
PS0_1024 (7)
138,9 µs
6.19.34 Timer_T3FRQX
Timer Functions
Syntax
void Timer_T3FRQX(word period,word skew,byte PS);
Sub Timer_T3FRQX(period As Word,skew As Word,PS As Byte)
Description
This function initializes Timer3 for frequency generation. Parameters are period duration, prescaler and
phase shift,see table. The output signal is generated at PortE.3 (X1_13) und PortE.4 (X1_12). The
frequency generation is started automatically. There is an extended prescaler definition for the Mega128,
see table. The phase shift must be smaller than half the period.
Parameter
period period duration
skew phase shift
PS prescaler (table
)
6.19.35 Timer_T3GetCNT
Timer Functions
Syntax
word Timer_T3GetCNT(void);
Sub Timer_T3GetCNT() As Word
Description
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......