\n
address_offset : 0x0 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection : not protected
address_offset : 0x54 Bytes (0x0)
size : 0x14 byte (0x0)
mem_usage : registers
protection : not protected
address_offset : 0x24 Bytes (0x0)
size : 0x1C byte (0x0)
mem_usage : registers
protection : not protected
address_offset : 0x78 Bytes (0x0)
size : 0x10 byte (0x0)
mem_usage : registers
protection : not protected
EPWM Negative Polarity Control Register
address_offset : 0x0 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
NEGPOLAR0 : PWM0 Negative Polarity Control\nThe register bit controls polarity/active state of real PWM output.
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output is active high
#1 : 1
PWM output is active low
End of enumeration elements list.
NEGPOLAR1 : PWM1 Negative Polarity Control\nThe register bit controls polarity/active state of real PWM output.
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output is active high
#1 : 1
PWM output is active low
End of enumeration elements list.
NEGPOLAR2 : PWM2 Negative Polarity Control\nThe register bit controls polarity/active state of real PWM output.
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output is active high
#1 : 1
PWM output is active low
End of enumeration elements list.
NEGPOLAR3 : PWM3 Negative Polarity Control\nThe register bit controls polarity/active state of real PWM output.
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output is active high
#1 : 1
PWM output is active low
End of enumeration elements list.
NEGPOLAR4 : PWM4 Negative Polarity Control\nThe register bit controls polarity/active state of real PWM output.
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output is active high
#1 : 1
PWM output is active low
End of enumeration elements list.
NEGPOLAR5 : PWM5 Negative Polarity Control\nThe register bit controls polarity/active state of real PWM output.
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output is active high
#1 : 1
PWM output is active low
End of enumeration elements list.
EPWM Comparator Register 0
address_offset : 0x24 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CMP : PWM Comparator Register
CMP determines the PWM Duty.
Edge-aligned mode: where xy, could be 01, 23, 45 depending on the selected PWM channel.
Note: Any write to CMPn will take effect in next PWM cycle.
bits : 0 - 15 (16 bit)
access : read-write
CMPU : PWM Comparator Register for UP Counter in Center-aligned Asymmetric Mode
CMPU PERIOD: @ up counter PWM output is keep to Max. duty.
bits : 16 - 31 (16 bit)
access : read-write
EPWM Comparator Register 1
address_offset : 0x28 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EPWM Comparator Register 2
address_offset : 0x2C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EPWM Comparator Register 3
address_offset : 0x30 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EPWM Comparator Register 4
address_offset : 0x34 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EPWM Comparator Register 5
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
EPWM Data Register
address_offset : 0x3C Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0
CNT : PWM Data \nUser can monitor CNT to know the current value in 16-bit down counter.
bits : 0 - 15 (16 bit)
access : read-only
CNTDIR : PWM Counter (Up/Down) Direction
bits : 31 - 31 (1 bit)
access : read-only
Enumeration:
#0 : 0
PWM counter is down counting
#1 : 1
PWM counter is up counting
End of enumeration elements list.
EPWM Clock Select Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CLKDIV : EPWM Clock Divider (9 Step Divider)\nSelect clock input for PWM timer
bits : 0 - 3 (4 bit)
access : read-write
Enumeration:
#0000 : 0
1 (HCLK / 2^0)
#0001 : 1
1/2 (HCLK / 2^1)
#0010 : 2
1/4 (HCLK / 2^2)
#0011 : 3
1/8 (HCLK / 2^3)
#0100 : 4
1/16 (HCLK / 2^4)
#0101 : 5
1/32 (HCLK / 2^5)
#0110 : 6
1/64 (HCLK / 2^6)
#0111 : 7
1/128 (HCLK / 2^7)
#1000 : 8
1/256 (HCLK / 2^8)
End of enumeration elements list.
EPWM Interrupt Enable Register
address_offset : 0x54 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PIEN : PWM Channel 0 Period Interrupt Enable Bit\nfor Edge-aligned and Center-aligned
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
EPWM Period interrupt Disabled
#1 : 1
EPWM Period interrupt Enabled
End of enumeration elements list.
CMPUIEN0 : PWM Channel 0 UP Interrupt Enable Bit\nUP for Center-aligned only
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
EPWM_CH0 PWM UP counter reaches EPWM_CMPDAT0 interrupt Disabled
#1 : 1
EPWM_CH0 PWM UP counter reaches EPWM_CMPDAT0 interrupt Enabled
End of enumeration elements list.
CMPUIEN1 : PWM Channel 1 UP Interrupt Enable Bit\nUP for Center-aligned only
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
EPWM_CH1 PWM UP counter reaches EPWM_CMPDAT1 interrupt Disabled
#1 : 1
EPWM_CH1 PWM UP counter reaches EPWM_CMPDAT1 interrupt Enabled
End of enumeration elements list.
CMPUIEN2 : PWM Channel 2 UP Interrupt Enable Bit\nUP for Center-aligned only
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
#0 : 0
EPWM_CH2 PWM UP counter reaches EPWM_CMPDAT2 interrupt Disabled
#1 : 1
EPWM_CH2 PWM UP counter reaches EPWM_CMPDAT2 interrupt Enabled
End of enumeration elements list.
CMPUIEN3 : PWM Channel 3 UP Interrupt Enable Bit\nUP for Center-aligned only
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
EPWM_CH3 PWM UP counter reaches EPWM_CMPDAT3 interrupt Disabled
#1 : 1
EPWM_CH3 PWM UP counter reaches EPWM_CMPDAT3 interrupt Enabled
End of enumeration elements list.
CMPUIEN4 : PWM Channel 4 UP Interrupt Enable Bit\nUP for Center-aligned only
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
EPWM_CH4 PWM UP counter reaches EPWM_CMPDAT4 interrupt Disabled
#1 : 1
EPWM_CH4 PWM UP counter reaches EPWM_CMPDAT4 interrupt Enabled
End of enumeration elements list.
CMPUIEN5 : PWM Channel 5 UP Interrupt Enable Bit\nUP for Center-aligned only
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM Channel 5 UP Interrupt Disabled
#1 : 1
Interrupt when EPWM_CH5 PWM UP counter reaches EPWM_CMPDAT5 Enabled
End of enumeration elements list.
BRK0IEN : Fault Brake0 Interrupt Enable Bit
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK0IF trigger PWM interrupt Disabled
#1 : 1
BRK0IF trigger PWM interrupt Enabled
End of enumeration elements list.
BRK1IEN : Fault Brake1 Interrupt Enable Bit
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK1IF trigger PWM interrupt Disabed
#1 : 1
BRK1IF trigger PWM interrupt Enabled
End of enumeration elements list.
CIEN : PWM Central Interrupt Enable Bit\nfor Center-aligned only
bits : 18 - 18 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt when EPWM Central Enabled
#1 : 1
Interrupt when EPWM Central Enabled
End of enumeration elements list.
CMPDIEN0 : PWM Channel 0 DOWN Interrupt Enable Bit\nDOWN for Edge-aligned and Center-aligned
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt compare Disabled
#1 : 1
interrupt when EPWM_CH0 PWM DOWN counter reaches EPWM_CMPDAT0 Enabled
End of enumeration elements list.
CMPDIEN1 : PWM Channel 1 DOWN Interrupt Enable Bit\nDOWN for Edge-aligned and Center-aligned
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt compare Disabled
#1 : 1
interrupt when EPWM_CH1 PWM DOWN counter reaches EPWM_CMPDAT1 Enabled
End of enumeration elements list.
CMPDIEN2 : PWM Channel 2 DOWN Interrupt Enable Bit\nDOWN for Edge-aligned and Center-aligned
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt compare Disabled
#1 : 1
interrupt when EPWM_CH2 PWM DOWN counter reaches EPWM_CMPDAT2 Enabled
End of enumeration elements list.
CMPDIEN3 : PWM Channel 3 DOWN Interrupt Enable Bit\nDOWN for Edge-aligned and Center-aligned
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt compare Disabled
#1 : 1
interrupt when EPWM_CH3 PWM DOWN counter reaches EPWM_CMPDAT3 Enabled
End of enumeration elements list.
CMPDIEN4 : PWM Channel 4 DOWN Interrupt Enable Bit\nDOWN for Edge-aligned and Center-aligned
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt compare Disabled
#1 : 1
interrupt when EPWM_CH4 PWM DOWN counter reaches EPWM_CMPDAT4 Enabled
End of enumeration elements list.
CMPDIEN5 : PWM Channel 5 DOWN Interrupt Enable Bit\nDOWN for Edge-aligned and Center-aligned
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
#0 : 0
Interrupt compare Disabled
#1 : 1
Interrupt when EPWM_CH5 PWM DOWN counter reaches EPWM_CMPDAT5 Enabled
End of enumeration elements list.
EPWM Interrupt Status Register
address_offset : 0x58 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PIF : PWM Channel 0 Period Interrupt Flag\nEdge-aligned mode:\nFlag is set by hardware when PWM down counter reaches zero point. \nCenter-aligned mode:\nFlag is set by hardware when PWM down counter reaches zero point and then up counter reaches EPWM_PERIOD.\nSoftware can write 1 to clear this bit.
bits : 0 - 0 (1 bit)
access : read-write
CMPUIF0 : PWM Channel 0 UP Interrupt Flag\nFlag is set by hardware when a channel 0 PWM UP counter reaches PWM_CMPDAT0. Software can write 1 to clear this bit.
bits : 8 - 8 (1 bit)
access : read-write
CMPUIF1 : PWM Channel 1 UP Interrupt Flag\nFlag is set by hardware when a channel 1 PWM UP counter reaches PWM_CMPDAT1. Software can write 1 to clear this bit.
bits : 9 - 9 (1 bit)
access : read-write
CMPUIF2 : PWM Channel 2 UP Interrupt Flag\nFlag is set by hardware when a channel 2 PWM UP counter reaches PWM_CMPDAT2. Software can write 1 to clear this bit.
bits : 10 - 10 (1 bit)
access : read-write
CMPUIF3 : PWM Channel 3 UP Interrupt Flag\nFlag is set by hardware when a channel 3 PWMUP counter reaches PWM_CMPDAT3. Software can write 1 to clear this bit.
bits : 11 - 11 (1 bit)
access : read-write
CMPUIF4 : PWM Channel 4 UP Interrupt Flag\nFlag is set by hardware when a channel 4 PWM UP counter reaches PWM_CMPDAT4. Software can write 1 to clear this bit.
bits : 12 - 12 (1 bit)
access : read-write
CMPUIF5 : PWM Channel 5 UP Interrupt Flag\nFlag is set by hardware when a channel 5 PWM UP counter reaches PWM_CMPDAT5. Software can write 1 to clear this bit.
bits : 13 - 13 (1 bit)
access : read-write
BRK0IF : PWM Brake0 Flag\nNote: Software can write 1 to clear this bit.
bits : 16 - 16 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM Brake does not recognize a falling signal at BKP0
#1 : 1
When PWM Brake detects a falling signal at pin BKP0, this flag will be set to high
End of enumeration elements list.
BRK1IF : PWM Brake1 Flag\nNote: Software can write 1 to clear this bit.
bits : 17 - 17 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM Brake does not recognize a falling signal at BKP1
#1 : 1
When PWM Brake detects a falling signal at pin BKP1, this flag will be set to high
End of enumeration elements list.
CIF : PWM Channel 0 Central Interrupt Flag\nFlag is set by hardware when PWM down counter reaches zero point. Software can write 1 to clear this bit.
bits : 18 - 18 (1 bit)
access : read-write
CMPDIF0 : PWM Channel 0 DOWN Interrupt Flag\nFlag is set by hardware when a channel 0 PWM DOWN counter reaches EPWM_CMPDAT0. Software can write 1 to clear this bit.
bits : 24 - 24 (1 bit)
access : read-write
CMPDIF1 : PWM Channel 1 DOWN Interrupt Flag\nFlag is set by hardware when a channel 1 PWM DOWN counter reaches EPWM_CMPDAT1. Software can write 1 to clear this bit.
bits : 25 - 25 (1 bit)
access : read-write
CMPDIF2 : PWM Channel 2 DOWN Interrupt Flag\nFlag is set by hardware when a channel 2 PWM DOWN counter reaches EPWM_CMPDAT2. Software can write 1 to clear this bit.
bits : 26 - 26 (1 bit)
access : read-write
CMPDIF3 : PWM Channel 3 DOWN Interrupt Flag\nFlag is set by hardware when a channel 3 PWM DOWN counter reaches EPWM_CMPDAT3. Software can write 1 to clear this bit.
bits : 27 - 27 (1 bit)
access : read-write
CMPDIF4 : PWM Channel 4 DOWN Interrupt Flag\nFlag is set by hardware when a channel 4 PWM DOWN counter reaches EPWM_CMPDAT4. Software can write 1 to clear this bit.
bits : 28 - 28 (1 bit)
access : read-write
CMPDIF5 : PWM Channel 5 DOWN Interrupt Flag\nFlag is set by hardware when a channel 5 PWM DOWN counter reaches EPWM_CMPDAT5. Software can write 1 to clear this bit.
bits : 29 - 29 (1 bit)
access : read-write
EPWM BRK Low Voltage Detect Resume Delay
address_offset : 0x5C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DELAY : PWM BRK Low Voltage Detect Resume Delay\n12 bits Down-Counter
bits : 0 - 11 (12 bit)
access : read-write
EPWM Fault Brake Control Register
address_offset : 0x60 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
BRK0EN : Brake0 Function Enable Bit
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Brake0 detect function Disabled
#1 : 1
Brake0 detect function Enabled
End of enumeration elements list.
BRK1EN : Brake1 Function Enable Bit
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Brake1 detect function Disabled
#1 : 1
Brake1 detect function Enabled
End of enumeration elements list.
BRK0A0EN : BRK0 Source From ACMP0 Enable Bit
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK0 Source From ACMP0 Disabled
#1 : 1
BRK0 Source From ACMP0 Enabled
End of enumeration elements list.
BRK0A1EN : BRK0 Source From ACMP1 Enable Bit
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK0 Source From ACMP1 Disabled
#1 : 1
BRK0 Source From ACMP1 Enabled
End of enumeration elements list.
BK0ADCEN : BRK0 Source From ADC Enable Bit
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK0 Source From ADC Disabled
#1 : 1
BRK0 Source From ADC Enabled
End of enumeration elements list.
BRK0PEN : BRK0 Source From External Pin Enable Bit
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK0 Source From External Pin Disabled
#1 : 1
BRK0 Source From External Pin Enabled
End of enumeration elements list.
SWBRK : Software Break
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
Software break and back to normal PWM function Disabled
#1 : 1
Issue Software break Enabled
End of enumeration elements list.
BRK1A0EN : BRK1 Source From ACMP0 Enable Bit
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK1 Source From ACMP0 Disabled
#1 : 1
BRK1 Source From ACMP0 Enabled
End of enumeration elements list.
BRK1A1EN : BRK1 Source From ACMP1 Enable Bit
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK1 Source From ACMP1 Disabled
#1 : 1
BRK1 Source From ACMP1 Enabled
End of enumeration elements list.
BK1ADCEN : BRK1 Source From ADC Enable Bit
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK1 Source From ADC Disabled
#1 : 1
BRK1 Source From ADC Enabled
End of enumeration elements list.
BRK1PEN : BRK1 Source From External Pin Enable Bit
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
BRK1 Source From External Pin Disabled
#1 : 1
BRK1 Source From External Pin Enabled
End of enumeration elements list.
LVDBKEN : Low-level Detection Trigger PWM Brake Function 1 Enable Bit
bits : 14 - 14 (1 bit)
access : read-write
Enumeration:
#0 : 0
Brake Function 1 triggered by Low-level detection Disabled
#1 : 1
Brake Function 1 triggered by Low-level detection Enabled
End of enumeration elements list.
LVDTYPE : Low-level Detection Resume Type
bits : 15 - 15 (1 bit)
access : read-write
Enumeration:
#0 : 0
Brake resume at BRK resume delay counter counting to 0
#1 : 1
Brake resume at period edge
End of enumeration elements list.
BKOD0 : PWM Channel 0 Brake Output Selection
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output low when fault brake conditions asserted
#1 : 1
PWM output high when fault brake conditions asserted
End of enumeration elements list.
BKOD1 : PWM Channel 1 Brake Output Selection
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output low when fault brake conditions asserted
#1 : 1
PWM output high when fault brake conditions asserted
End of enumeration elements list.
BKOD2 : PWM Channel 2 Brake Output Selection
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output low when fault brake conditions asserted
#1 : 1
PWM output high when fault brake conditions asserted
End of enumeration elements list.
BKOD3 : PWM Channel 3 Brake Output Selection
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output low when fault brake conditions asserted
#1 : 1
PWM output high when fault brake conditions asserted
End of enumeration elements list.
BKOD4 : PWM Channel 4 Brake Output Selection
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output low when fault brake conditions asserted
#1 : 1
PWM output high when fault brake conditions asserted
End of enumeration elements list.
BKOD5 : PWM Channel 5 Brake Output Selection
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM output low when fault brake conditions asserted
#1 : 1
PWM output high when fault brake conditions asserted
End of enumeration elements list.
NFPEN : Noise Filter for External Brake Input Pin (BRAKE) Enable Bit
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
#0 : 0
Noise Filter for External Brake Input Pin (BRAKE) Disabled
#1 : 1
Noise Filter for External Brake Input Pin (BRAKE) Enabled
End of enumeration elements list.
EPWM Dead-zone Interval Register
address_offset : 0x64 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
DTCNT01 : Dead-zone Interval Register for Pair of Channel0 and Channel1 (PWM0 and PWM1 Pair)\nThese 8 bits determine dead-zone length.\nThe unit time of dead-zone length is received from corresponding EPWM_CLKDIV bits.
bits : 0 - 7 (8 bit)
access : read-write
DTCNT23 : Dead-zone Interval Register for Pair of Channel2 and Channel3 (PWM2 and PWM3 Pair)\nThese 8 bits determine dead-zone length.\nThe unit time of dead-zone length is received from corresponding EPWM_CLKDIV bits.
bits : 8 - 15 (8 bit)
access : read-write
DTCNT45 : Dead-zone Interval Register for Pair of Channel4 and Channel5 (PWM4 and PWM5 Pair)\nThese 8 bits determine dead-zone length.\nThe unit time of dead-zone length is received from corresponding EPWM_CLKDIV bits.
bits : 16 - 23 (8 bit)
access : read-write
EPWM Phase Changed Register
address_offset : 0x78 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
MSKDAT0 : Enable PWM0 Mask Data
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM0 state is masked with zero
#1 : 1
PWM0 state is masked with one
End of enumeration elements list.
MSKDAT1 : Enable PWM1 Mask Data
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM1 state is masked with zero
#1 : 1
PWM1 state is masked with one
End of enumeration elements list.
MSKDAT2 : Enable PWM2 Mask Data
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM2 state is masked with zero
#1 : 1
PWM2 state is masked with one
End of enumeration elements list.
MSKDAT3 : Enable PWM3 Mask Data
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM3 state is masked with zero
#1 : 1
PWM3 state is masked with one
End of enumeration elements list.
MSKDAT4 : Enable PWM4 Mask Data
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM4 state is masked with zero
#1 : 1
PWM4 state is masked with one
End of enumeration elements list.
MSKDAT5 : Enable PWM5 Mask Data
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM5 state is masked with zero
#1 : 1
PWM5 state is masked with one
End of enumeration elements list.
MSKEN0 : Enable PWM0 Mask Function
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM0 Mask Function Disabled
#1 : 1
PWM0 Mask Function Enabled
End of enumeration elements list.
MSKEN1 : Enable PWM1 Mask Function
bits : 9 - 9 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM1 Mask Function Disabled
#1 : 1
PWM1 Mask Function Enabled
End of enumeration elements list.
MSKEN2 : Enable PWM2 Mask Function
bits : 10 - 10 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM2 Mask Function Disabled
#1 : 1
PWM2 Mask Function Enabled
End of enumeration elements list.
MSKEN3 : Enable PWM3 Mask Function
bits : 11 - 11 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM3 Mask Function Disabled
#1 : 1
PWM3 Mask Function Enabled
End of enumeration elements list.
MSKEN4 : Enable PWM4 Mask Function
bits : 12 - 12 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM4 Mask Function Disabled
#1 : 1
PWM4 Mask Function Enabled
End of enumeration elements list.
MSKEN5 : Enable PWM5 Mask Function
bits : 13 - 13 (1 bit)
access : read-write
Enumeration:
#0 : 0
PWM5 Mask Function Disabled
#1 : 1
PWM5 Mask Function Enabled
End of enumeration elements list.
TRGSEL : Phase Change Trigger Selection\nSelect the trigger condition to load PHCHG from PHCHG_NXT.\nWhen the trigger condition occurs it will load PHCHG_NOW with PHCHG_NXT.\nPhase Change: PWM outputs are masked according with the definition of MSKENn and MSKDATn in PHCHG_NOW.
bits : 20 - 22 (3 bit)
access : read-write
Enumeration:
#000 : 0
Triggered by Timer0 event
#001 : 1
Triggered by Timer1 event
#010 : 2
Triggered by Timer2 event
#011 : 3
Triggered by HALLSTS (EPWM_PHCHGNXT[18:16]) matched hall sensor state
#100 : 4
Triggered by ACMP0 event
#101 : 5
Triggered by ACMP1 event
#110 : 6
Reserved.
#111 : 7
Auto Phase Change Function Disabled
End of enumeration elements list.
A0POSSEL : Alternative Comparator 0 Positive Input Selection\nSelect the positive input source of ACMP0.
bits : 24 - 25 (2 bit)
access : read-write
Enumeration:
#00 : 0
Select ACMP0_P0 (PB.0) as the input of ACMP0
#01 : 1
Select ACMP0_P1 (PB.1) as the input of ACMP0
#10 : 2
Select ACMP0_P2 (PB.2) as the input of ACMP0
#11 : 3
Reserved.
End of enumeration elements list.
A1POSSEL : Alternative Comparator 1 Positive Input Selection\nSelect the positive input source of ACMP1.
bits : 26 - 27 (2 bit)
access : read-write
Enumeration:
#00 : 0
Select ACMP1_P0 (PC.0) as the input of ACMP1
#01 : 1
Select ACMP1_P1 (PC.1) as the input of ACMP1
#10 : 2
Select ACMP1_P2 (PD.1) as the input of ACMP1
#11 : 3
Reserved.
End of enumeration elements list.
ACMP0TEN : ACMP0 Trigger Function Enable Bit
bits : 28 - 28 (1 bit)
access : read-write
Enumeration:
#0 : 0
ACMP0 trigger PWM function Disabled
#1 : 1
ACMP0 trigger PWM function Enabled
End of enumeration elements list.
ACMP1TEN : ACMP1 Trigger Function Enable Bit
bits : 29 - 29 (1 bit)
access : read-write
Enumeration:
#0 : 0
ACMP1 trigger PWM function Disabled
#1 : 1
ACMP1 trigger PWM function Enabled
End of enumeration elements list.
EPWM Next Phase Change Register
address_offset : 0x7C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
MSKDAT0 : Enable PWM0 Mask Data Preset Bit\nThis bit will be load to bit MSKDAT0 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 0 - 0 (1 bit)
access : read-write
MSKDAT1 : Enable PWM1 Mask Data Preset Bit\nThis bit will be load to bit MSKDAT1 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 1 - 1 (1 bit)
access : read-write
MSKDAT2 : Enable PWM2 Mask Data Preset Bit\nThis bit will be load to bit MSKDAT2 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 2 - 2 (1 bit)
access : read-write
MSKDAT3 : Enable PWM3 Mask Data Preset Bit\nThis bit will be load to bit MSKDAT3 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 3 - 3 (1 bit)
access : read-write
MSKDAT4 : Enable PWM4 Mask Data Preset Bit\nThis bit will be load to bit MSKDAT4 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 4 - 4 (1 bit)
access : read-write
MSKDAT5 : Enable PWM5 Mask Data Preset Bit\nThis bit will be load to bit MSKDAT5 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 5 - 5 (1 bit)
access : read-write
MSKEN0 : Enable PWM0 Mask Function Preset Bit\nThis bit will be load to bit MSKEN0 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 8 - 8 (1 bit)
access : read-write
MSKEN1 : Enable PWM1 Mask Function Preset Bit\nThis bit will be load to bit MSKEN1 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 9 - 9 (1 bit)
access : read-write
MSKEN2 : Enable PWM2 Mask Function Preset Bit\nThis bit will be load to bit MSKEN2 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 10 - 10 (1 bit)
access : read-write
MSKEN3 : Enable PWM3 Mask Function Preset Bit\nThis bit will be load to bit MSKEN3 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 11 - 11 (1 bit)
access : read-write
MSKEN4 : Enable PWM4 Mask Function Preset Bit\nThis bit will be load to bit MSKEN4 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 12 - 12 (1 bit)
access : read-write
MSKEN5 : Enable PWM5 Mask Function Preset Bit\nThis bit will be load to bit MSKEN5 in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 13 - 13 (1 bit)
access : read-write
HALLSTS : Predicted Next HALL State\nThis bit field indicates the predicted hall state at next commutation. \nthe hardware will compare bits (CAP2, CAP1, CAP0) in timer 2 with HALLSTS [2:0] when any hall state change occurs.\nIf the comparison is matched it will trigger phase change function.
bits : 16 - 18 (3 bit)
access : read-write
TRGSEL : Phase Change Trigger Selection Preset Bits\nThis bit field will be load to bit field TRGSEL in PHCHG_NOW when load trigger condition occurs.\nRefer to register EPWM_PHCHG for detailed definition.
bits : 20 - 22 (3 bit)
access : read-write
Enumeration:
#000 : 0
Triggered by Timer0 event
#001 : 1
Triggered by Timer1 event
#010 : 2
Triggered by Timer2 event
#011 : 3
Triggered by HALLSTS (EPWM_PHCHGNXT[18:16]) matched hall sensor state
#100 : 4
Triggered by ACMP0 event
#101 : 5
Triggered by ACMP1 event
#110 : 6
Reserved.
#111 : 7
Auto Phase Change Function Disabled
End of enumeration elements list.
A0POSSEL : Alternative Comparator 0 Positive Input Selection Preset Bits\nThis bit field will be load to bit field A0POSSEL in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 24 - 25 (2 bit)
access : read-write
A1POSSEL : Alternative Comparator 1 Positive Input Selection Preset Bits\nThis bit field will be load to bit field A1POSSEL in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 26 - 27 (2 bit)
access : read-write
ACMP0TEN : ACMP0 Trigger Function Control Preset Bit\nThis bit will be load to bit ACMP0TEN in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 28 - 28 (1 bit)
access : read-write
ACMP1TEN : ACMP1 Trigger Function Control Preset Bit\nThis bit will be load to bit ACMP1TEN in PHCHG_NOW when load trigger condition occurs. \nRefer to register PHCHG_NOW for detailed definition.
bits : 29 - 29 (1 bit)
access : read-write
EPWM Control Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
CNTEN0 : PWM-timer 0 Enable/Disable Start Run
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding PWM-timer running Stopped
#1 : 1
Corresponding PWM-timer start run Enabled
End of enumeration elements list.
CNTEN1 : PWM-timer 1 Enable/Disable Start Run
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding PWM-timer running Stopped
#1 : 1
Corresponding PWM-timer start run Enabled
End of enumeration elements list.
CNTEN2 : PWM-timer 2 Enable/Disable Start Run
bits : 2 - 2 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding PWM-timer running Stopped
#1 : 1
Corresponding PWM-timer start run Enabled
End of enumeration elements list.
CNTEN3 : PWM-timer 3 Enable/Disable Start Run
bits : 3 - 3 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding PWM-timer running Stopped
#1 : 1
Corresponding PWM-timer start run Enabled
End of enumeration elements list.
CNTEN4 : PWM-timer 4 Enable/Disable Start Run
bits : 4 - 4 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding PWM-timer running Stopped
#1 : 1
Corresponding PWM-timer start run Enabled
End of enumeration elements list.
CNTEN5 : PWM-timer 5 Enable/Disable Start Run
bits : 5 - 5 (1 bit)
access : read-write
Enumeration:
#0 : 0
Corresponding PWM-timer running Stopped
#1 : 1
Corresponding PWM-timer start run Enabled
End of enumeration elements list.
CNTMODE : PWM-timer Auto-reload/One-shot Mode
bits : 8 - 8 (1 bit)
access : read-write
Enumeration:
#0 : 0
One-shot mode
#1 : 1
Auto-reload mode
End of enumeration elements list.
HCUPDT : Half Cycle Update Enable for Center-aligned Type
bits : 16 - 17 (2 bit)
access : read-write
Enumeration:
#00 : 0
Update PERIOD CMP at pwm_counter = PERIOD (Period)
#01 : 1
Update PERIOD CMP at pwm_counter = 0
#10 : 2
Update PERIOD CMP at half cycle (counter = 0 PERIOD, both update)
#11 : 3
Update PERIOD CMP at pwm_counter = PERIOD (Period)
End of enumeration elements list.
ASYMEN : Asymmetric Mode in Center-aligned Type
bits : 20 - 20 (1 bit)
access : read-write
Enumeration:
#0 : 0
Symmetric mode in center-aligned type
#1 : 1
Asymmetric mode in center-aligned type
End of enumeration elements list.
DBGTRIOFF : PWM Debug Mode Configuration Bit (Available in DEBUG Mode Only)
bits : 23 - 23 (1 bit)
access : read-write
Enumeration:
#0 : 0
Safe mode: The timer is frozen and PWM outputs are shut down Safe state for the inverter. The timer can still be re-started from where it stops
#1 : 1
Normal mode: The timer continues to operate normally May be dangerous in some cases since a constant duty cycle is applied to the inverter (no more interrupts serviced)
End of enumeration elements list.
DTCNT01 : Dead-zone 0 Generator Enable/Disable (PWM0 and PWM1 Pair for PWM Group)\nNote: When the dead-zone generator is enabled, the pair of PWM0 and PWM1 becomes a complementary pair for PWM group.
bits : 24 - 24 (1 bit)
access : read-write
Enumeration:
#0 : 0
Dead-zone 0 Generator Disabled
#1 : 1
Dead-zone 0 Generator Enabled
End of enumeration elements list.
DTCNT23 : Dead-zone 2 Generator Enable/Disable (PWM2 and PWM3 Pair for PWM Group)\nNote: When the dead-zone generator is enabled, the pair of PWM2 and PWM3 becomes a complementary pair for PWM group.
bits : 25 - 25 (1 bit)
access : read-write
Enumeration:
#0 : 0
Dead-zone 2 Generator Disabled
#1 : 1
Dead-zone 2 Generator Enabled
End of enumeration elements list.
DTCNT45 : Dead-zone 4 Generator Enable/Disable (PWM4 and PWM5 Pair for PWM Group)\nNote: When the dead-zone generator is enabled, the pair of PWM4 and PWM5 becomes a complementary pair for PWM group.
bits : 26 - 26 (1 bit)
access : read-write
Enumeration:
#0 : 0
Dead-zone 4 Generator Disabled
#1 : 1
Dead-zone 4 Generator Enabled
End of enumeration elements list.
CNTCLR : Clear PWM Counter Control Bit\nNote: It is automatically cleared by hardware.
bits : 27 - 27 (1 bit)
access : read-write
Enumeration:
#0 : 0
Do not clear PWM counter
#1 : 1
16-bit PWM counter cleared to 0x000
End of enumeration elements list.
MODE : PWM Operating Mode Selection
bits : 28 - 29 (2 bit)
access : read-write
Enumeration:
#00 : 0
Independent mode
#01 : 1
Complementary mode
#10 : 2
Reserved.
#11 : 3
Reserved.
End of enumeration elements list.
GROUPEN : Group Bit
bits : 30 - 30 (1 bit)
access : read-write
Enumeration:
#0 : 0
The signals timing of PWM0, PWM2 and PWM4 are independent
#1 : 1
Unify the signals timing of PWM0, PWM2 and PWM4 in the same phase which is controlled by PWM0
End of enumeration elements list.
CNTTYPE : PWM Aligned Type Selection
bits : 31 - 31 (1 bit)
access : read-write
Enumeration:
#0 : 0
Edge-aligned type
#1 : 1
Center-aligned type
End of enumeration elements list.
EPWM Phase Change Alternative Control Register
address_offset : 0x80 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
POSCTL0 : Positive Input Control for ACMP0\nNote: Register ACMP_CTL0 is describe in Comparator Controller chapter
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
The input of ACMP0 is controlled by ACMP_CTL0
#1 : 1
The input of ACMP0 is controlled by A0POSSEL in PHCHG_NOW register
End of enumeration elements list.
POSCTL1 : Positive Input Control for ACMP1\nNote: Register ACMP_CTL1 is describe in Comparator Controller chapter
bits : 1 - 1 (1 bit)
access : read-write
Enumeration:
#0 : 0
The input of ACMP1 is controlled by ACMP_CTL1
#1 : 1
The input of ACMP1 is controlled by A1POSSEL in PHCHG_NOW register
End of enumeration elements list.
EPWM Period Interrupt Accumulation Control Register
address_offset : 0x84 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0
IFAEN : Enable Period Interrupt Accumulation Function
bits : 0 - 0 (1 bit)
access : read-write
Enumeration:
#0 : 0
Period Interrupt Accumulation Disabled
#1 : 1
Period Interrupt Accumulation Enabled
End of enumeration elements list.
IFCNT : Period Interrupt Accumulation Counter Value Setting Register (Write Only)\n16 step Down-Counter value setting register.\nWhen IFAEN is set, IFCNT value will load into IFDAT and decrase gradually.
bits : 4 - 7 (4 bit)
access : write-only
IFDAT : Period Interrupt Down-counter Data Register (Read Only)\nWhen IFAEN is set, IFDAT will decrease when every PWM Interrupt flag is set,\n and when IFDAT reaches 0, the PWM interrupt will occurred and IFCNT will reload to IFDAT.
bits : 12 - 15 (4 bit)
access : read-only
EPWM Period Counter Register
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0
PERIOD : PWM Counter/Timer Loaded Value
PERIODn determines the PWM Period.
Edge-aligned mode: where xy, could be 01, 23, 45 depending on the selected PWM channel.
Note: Any write to PERIODn will take effect in next PWM cycle.
bits : 0 - 15 (16 bit)
access : read-write
Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !
This website is sponsored by Embeetle, an IDE designed from scratch for embedded software developers.