
Hercules III User Manual Rev A.2
www.diamondsystems.com
Page
60
PWM Data MSB: Base+26 (Write)
Bit:
7
6
5
4
3
2
1
0
Name:
PWMD23-16
PWMD23-16 PWM data bits 23-16.
PWM Command: Base+27 (Write)
Bit:
7
6
5
4
3
2
1
0
Name:
FLAG
RSVD
PWM(1/0)
0/CLK
0/POL
0/OUTEN CTR/ENA
FLAG
Command/configuration flag:
0 = command
1 = configuration
RSVD
(reserved for future use)
PWM(1/0) Indicates which of the four PWM circuits to access.
CLK
If FLAG = 0, value of bits 1-3 are zero, which is the load counter command.
If FLAG = 1, selects internal clock source for both PWM counters:
0 = 10MHz
1 = 100 KHz
POL
If FLAG = 0, value of bits 1-3 are zero, which is the load counter command.
If FLAG = 1, selects polarity of output pulse (active level):
0 = active low level
1 = active high level
OUTEN If FLAG = 0, value of bits 1-3 are zero, which is the load counter command.
If FLAG = 1, output enable:
0 = disabled (output held at inactive level based on setting of POL bit)
1 = enabled
CTR/ENA If FLAG = 0, indicates which counter to act on:
0 = rate counter.
1 = duty cycle counter.
If FLAG = 1,
0 = disabled
1 = running