MCPWM_CHANNEL_CFG_Type Struct Reference
[MCPWM_Public_Types]
Motor Control PWM Channel Configuration structure type definition.
More...
#include <lpc17xx_mcpwm.h>
Data Fields | |
uint32_t | channelType |
uint32_t | channelPolarity |
uint32_t | channelDeadtimeEnable |
uint32_t | channelDeadtimeValue |
uint32_t | channelUpdateEnable |
uint32_t | channelTimercounterValue |
uint32_t | channelPeriodValue |
uint32_t | channelPulsewidthValue |
Detailed Description
Motor Control PWM Channel Configuration structure type definition.Definition at line 152 of file lpc17xx_mcpwm.h.
Field Documentation
uint32_t channelDeadtimeEnable |
Enable/Disable DeadTime function for channel, should be:
- ENABLE.
- DISABLE.
Definition at line 162 of file lpc17xx_mcpwm.h.
uint32_t channelDeadtimeValue |
DeadTime value, should be less than 0x3FF
Definition at line 166 of file lpc17xx_mcpwm.h.
uint32_t channelPeriodValue |
MCPWM Period value
Definition at line 173 of file lpc17xx_mcpwm.h.
uint32_t channelPolarity |
Polarity of the MCOA and MCOB pins, should be:
- MCPWM_CHANNEL_PASSIVE_LO: Passive state is LOW, active state is HIGH
- MCPWM_CHANNEL_PASSIVE_HI: Passive state is HIGH, active state is LOW
Definition at line 158 of file lpc17xx_mcpwm.h.
uint32_t channelPulsewidthValue |
MCPWM Pulse Width value
Definition at line 174 of file lpc17xx_mcpwm.h.
uint32_t channelTimercounterValue |
MCPWM Timer Counter value
Definition at line 172 of file lpc17xx_mcpwm.h.
uint32_t channelType |
Edge/center aligned mode for this channel, should be:
- MCPWM_CHANNEL_EDGE_MODE: Channel is in Edge mode
- MCPWM_CHANNEL_CENTER_MODE: Channel is in Center mode
Definition at line 153 of file lpc17xx_mcpwm.h.
uint32_t channelUpdateEnable |
Enable/Disable updates of functional registers, should be:
- ENABLE.
- DISABLE.
Definition at line 167 of file lpc17xx_mcpwm.h.
The documentation for this struct was generated from the following file:
- C:/nxpdrv/LPC1700CMSIS/Drivers/include/lpc17xx_mcpwm.h
Generated on Mon Feb 8 10:01:55 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9