# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# PIC24FJ32MC10X -- Motor Control PWM

- 1
- 2
…
- 15
- 16
- 17
- 18
- 19
…
- 49
- 50

© 2010 Microchip Technology Inc. Preliminary DS39735A-page 47-17
Section 47. Motor Control PWM
Motor Control
PWM
47
Register 47-16: FPOR: POR Device Configuration Register
R-x R-x R-x R-x U-0 U-0 U-0 U-0
PWMPIN HPOL LPOL
ALTI2C    
bit 7 bit0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
P = Programmable configuration bit
bit 7 PWMPIN: Motor Control PWM Module Pin Mode bit
1 = PWM module pins controlled by the PORT register at device Reset (tri-stated)
0 = PWM module pins controlled by the PWM module at device Reset (configured as output pins)
bit 6 HPOL: Motor Control PWM High-Side Polarity bit
1 = PWM module high-side output pins have active-high output polarity
0 = PWM module high-side output pins have active-low output polarity
bit 5 LPOL: Motor Control PWM Low-Side Polarity bit
1 = PWM module low-side output pins have active-high output polarity
0 = PWM module low-side output pins have active-low output polarity
bit 4 ALTI2C: Not used by the PWM module. Refer to the specific device data sheet for more information.
bit 3-0 Unimplemented: Read as 0
Register 47-17: FOSCSEL: Oscillator Source Selection Register
R-x R-x U-0 U-0 U-0 R-x R-x R-x
IESO PWMLOCK    FNOSC2 FNOSC1 FNOSC0
bit 7 bit 0
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as 0
-n = Value at POR 1 = Bit is set 0 = Bit is cleared x = Bit is unknown
bit 7 IESO: Not used by the PWM module. Refer to the specific device data sheet for more information.
bit 6 PWMLOCK: Motor Control PWM Unlock bit
1 = PWM module registers, PWMxCON1, PxFLTACON and PxFLTBCON, are write-protected
0 = PWM module registers are not write-protected
bit 5-3 Unimplemented: Read as 0
bit 2-0 FNOSC<2:0>: Not used by the PWM module. Refer to the specific device data sheet for more
information.

- 1
- 2
…
- 15
- 16
- 17
- 18
- 19
…
- 49
- 50