Datasheet
PIC16(L)F1782/3
DS41579D-page 254 Preliminary 2011-2012 Microchip Technology Inc.
REGISTER 24-30: PSMCxSTR0: PSMC STEERING CONTROL REGISTER 0
U-0 U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-1/1
— —PxSTRF
(2)
PxSTRE
(2)
PxSTRD
(2)
PxSTRC
(2)
PxSTRB PxSTRA
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-6
Unimplemented: Read as ‘0’
bit 5
PxSTRF: PWM Steering PSMCxF Output Enable bit
(2)
If PxMODE<3:0> = 0000 (Single-phase PWM):
1 = Single PWM output is active on pin PSMCxF
0 = Single PWM output is not active on pin PSMCxF. PWM drive is in inactive state
If PxMODE<3:0> =
0001 (Complementary Single-phase PWM):
1 = Complementary PWM output is active on pin PSMCxF
0 = Complementary PWM output is not active on pin PSMCxOUT5. PWM drive is in inactive state
IF PxMODE<3:0> =
1100 (3-phase Steering):
(1)
1 = PSMCxD and PSMCxE are high. PSMCxA, PMSCxB, PSMCxC and PMSCxF are low.
0 = 3-phase output combination is not active
bit 4
PxSTRE: PWM Steering PSMCxE Output Enable bit
(2)
If PxMODE<3:0> = 000x (single-phase PWM or Complementary PWM):
1 = Single PWM output is active on pin PSMCxE
0 = Single PWM output is not active on pin PSMCxE. PWM drive is in inactive state
IF PxMODE<3:0> =
1100 (3-phase Steering):
(1)
1 = PSMCxB and PSMCxE are high. PSMCxA, PMSCxC, PSMCxD and PMSCxF are low.
0 = 3-phase output combination is not active
bit 3
PxSTRD: PWM Steering PSMCxD Output Enable bit
(2)
If PxMODE<3:0> = 0000 (Single-phase PWM):
1 = Single PWM output is active on pin PSMCxD
0 = Single PWM output is not active on pin PSMCxD. PWM drive is in inactive state
If PxMODE<3:0> =
0001 (Complementary single-phase PWM):
1 = Complementary PWM output is active on pin PSMCxD
0 = Complementary PWM output is not active on pin PSMCxD. PWM drive is in inactive state
IF PxMODE<3:0> =
1100 (3-phase Steering):
(1)
1 = PSMCxB and PSMCxC are high. PSMCxA, PMSCxD, PSMCxE and PMSCxF are low.
0 = 3-phase output combination is not active
bit 2
PxSTRC: PWM Steering PSMCxC Output Enable bit
(2)
If PxMODE<3:0> = 000x (Single-phase PWM or Complementary PWM):
1 = Single PWM output is active on pin PSMCxC
0 = Single PWM output is not active on pin PSMCxC. PWM drive is in inactive state
IF PxMODE<3:0> =
1100 (3-phase Steering):
(1)
1 = PSMCxC and PSMCxF are high. PSMCxA, PMSCxB, PSMCxD and PMSCxE are low.
0 = 3-phase output combination is not active