UG-549
ADuCM310 Hardware Reference Manual
Rev. C | Page 182 of 192
Bits
Bit Name
Description
Reset
Access
3
LCOMP
Signal to load a new set of compare register values. In standard mode, this
bit is cleared when the new values are loaded in the compare registers for
all the channels. In H-bridge mode, this bit is not cleared; the user must write
a value of 1 to this bit for the compare registers to be loaded.
0x0
RW
0: use the values previously store in the compare and length registers.
1: load the internal compare registers with values stored in the PWMxCOMx
and PWMxLEN registers.
2
DIR
Direction control when PWM is in H-bridge mode.
0x0
RW
0: PWM2 and PWM3 act as output signals while PWM0 and PWM1 are held low.
1: PWM0 and PWM1 act as output signals while PWM2 and PWM3 are held low.
1
HMODE
Set to enable H-bridge mode.
0x1
RW
0
PWMEN
Master enable for PWM.
0x0
RW
0: disable all PWM outputs.
1: enable all PWM outputs.
ADC Conversion Start and Trip Control Register
Address: 0x40024004, Reset: 0x0000, Name: PWMCON1
Table 275. Bit Descriptions for PWMCON1
Bits
Bit Name
Description
Reset
Access
[15:7]
RESERVED
Reserved. Return 0 on reads.
0x00
Reserved
6
TRIP_EN
Set to enable PWM trip functionality.
0x0
RW
[5:0]
RESERVED
Reserved.
0x0
Reserved
Hardware Trip Configuration Register
Address: 0x40024008, Reset: 0x0000, Name: PWMICLR
Table 276. Bit Descriptions for PWMICLR
Bits
Bit Name
Description
Reset
Access
[15:5]
RESERVED
Reserved. Return 0 on reads.
0x000
Reserved
4
TRIP
Write a 1 to clear latched IRQPWMTrip interrupt. Returns 0 on reads.
0x0
RW1C
3
PWM3
Write a 1 to clear latched IRQPWM3 interrupt. Returns 0 on reads.
0x0
RW1C
2
PWM2
Write a 1 to clear latched IRQPWM2 interrupt. Returns 0 on reads.
0x0
RW1C
1
PWM1
Write a 1 to clear latched IRQPWM1 interrupt. Returns 0 on reads.
0x0
RW1C
0
PWM0
Write a 1 to clear latched IRQPWM0 interrupt. Returns 0 on reads.
0x0
RW1C
Compare Register 2 for PWM0 and PWM1
Address: 0x40024018, Reset: 0x0000, Name: PWM0COM2
Table 277. Bit Descriptions for PWM0COM2
Bits
Bit Name
Description
Reset
Access
[15:0]
COM2
Compare Register 2 data
0x0
RW
Period Value Register for PWM0 and PWM1
Address: 0x4002401C, Reset: 0x0000, Name: PWM0LEN
Table 278. Bit Descriptions for PWM0LEN
Bits
Bit Name
Description
Reset
Access
[15:0]
LEN
Period value
0x0
RW