15.3.1.58 PWM Generator x Leading-Edge Blanking Register

Caution should be exercised when modifying this register while PGxCON.ON = 1; unexpected results may occur.
Name: APGxLEB
Offset: 0x1478, 0x14EC, 0x1560, 0x15D4

Bit 3130292827262524 
 TRGDTRGCTRGBTRGAPHRPHFPLRPLF 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
     LEB[19:16] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 15141312111098 
 LEB[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 LEB[7:4]     
Access R/WR/WR/WR/W 
Reset 0000 

Bit 31 – TRGD PGxTRIGD Kick-Off bit

ValueDescription
1 PGxTRIGD compare event will trigger LEB duration counter
0 LEB ignores PGxTRIGD compare event

Bit 30 – TRGC PGxTRIGC Kick-Off bit

ValueDescription
1 PGxTRIGC compare event will trigger LEB duration counter
0 LEB ignores PGxTRIGC compare event

Bit 29 – TRGB PGxTRIGB Kick-Off bit

ValueDescription
1 PGxTRIGB compare event will trigger LEB duration counter
0 LEB ignores PGxTRIGB compare event

Bit 28 – TRGA PGxTRIGA Kick-Off bit

ValueDescription
1 PGxTRIGA compare event will trigger LEB duration counter
0 LEB ignores PGxTRIGA compare event

Bit 27 – PHR PWMx Rising Edge Trigger Enable bit

ValueDescription
1

Rising edge of PWMx will trigger the LEB duration counter

0

LEB ignores the rising edge of PWMx

Bit 26 – PHF PWMxH Falling Edge Trigger Enable bit

ValueDescription
1

Falling edge of PWMx will trigger the LEB duration counter

0

LEB ignores the falling edge of PWMx

Bit 25 – PLR PWMx Rising Edge Trigger Enable bit

ValueDescription
1

Rising edge of PWMx will trigger the LEB duration counter

0

LEB ignores the rising edge of PWMx

Bit 24 – PLF PWMx Falling Edge Trigger Enable bit

ValueDescription
1

Falling edge of PWMx will trigger the LEB duration counter

0

LEB ignores the falling edge of PWMx

Bits 19:16 – LEB[19:16]

Bits 15:8 – LEB[15:8]

Bits 7:4 – LEB[7:4] Leading-Edge Blanking Period bits

These bits select the leading edge blanking period. The 4 LSbs of the blanking time are not implemented, providing a blanking resolution of TPWMCLK. The LEB period is (LEB[15:4]+1)*TPWMCLK. The minimum blanking period is 5, values 0,1,2,3,4 all get LEB period of 5*TPWMCLK.