ADwin-Gold II
, Manual February 2013
29
PWM outputs
ADwin
7.6
PWM outputs
PWM outputs enable to output pulse-width-modulated signals with selectable duty
cycle on 6 outputs. The output is clocked with 50MHz.
Fig. 21 – Pin assignments PWM outputs, PWM 1-8 (TTL)
Programming
The functionality of the PWM outputs is easily programmed with
ADbasic
instructions;
description see
, starting from
.
The instructions The instructions are in the include file
<ADwinGoldII.INC>
. More
information can be found in the online help.
8
7
6
5
4
3
2
1
15
14
13
12
11
10
9
DG
ND
WA
T
CHD
O
G
O
U
T
PW
M
O
U
T
6
PW
M
O
U
T
5
PW
M
O
U
T
4
PW
M
O
U
T
3
PW
M
O
U
T
2
PW
M
O
U
T
1
RE
S
E
RV
E
D
DG
N
D
DG
N
D
DG
N
D
DG
N
D
DG
N
D
DG
N
D
Function
Instructions
Initialize PWM outputs
Set operation mode
PWM_Init
PWM_Reset
PWM_Standby_Value
Start PWM output
PWM_Enable
Set PWM mode
PWM_Write_Latch
Read PWM mode and status
PWM_Get_Status
PWM_Latch