Diamond Systems Hercules III User Manual page 60

High integration ebx sbc with data acquisition & dc power supply
Table of Contents

Advertisement

PWM Data MSB: Base+26 (Write)
Bit:
7
Name:
PWMD23-16 PWM data bits 23-16.
PWM Command: Base+27 (Write)
Bit:
7
Name:
FLAG
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
Hercules III User Manual Rev A.2
6
5
6
5
RSVD
PWM(1/0)
www.diamondsystems.com
4
3
2
PWMD23-16
4
3
2
0/CLK
0/POL
1
0
1
0
0/OUTEN CTR/ENA
Page
60

Advertisement

Table of Contents
loading

Table of Contents