Module mcpwm0

Source
Expand description

Motor Control Pulse-Width Modulation 0

Re-exports§

pub use self::timer::TIMER;
pub use self::ch::CH;

Modules§

cap_ch
Value of last capture on channel %s
cap_ch_cfg
Capture channel %s configuration and enable
cap_status
Edge of last capture trigger
cap_timer_cfg
Configure capture timer
cap_timer_phase
Phase for capture timer sync
ch
Cluster Cluster CH%s, containing CMPR?_CFG, CMPR?_VALUE0, CMPR?_VALUE1, GEN?_CFG0, GEN?_FORCE, GEN?_A, GEN?_B, DB?_CFG, DB?_FED_CFG, DB?_RED_CFG, CHOPPER?_CFG, TZ?_CFG0, TZ?_CFG1, TZ?_STATUS
clk
MCPWM APB configuration register
clk_cfg
PWM clock prescaler register.
fault_detect
Fault detection configuration and status
int_clr
Interrupt clear bits
int_ena
Interrupt enable bits
int_raw
Raw interrupt status
int_st
Masked interrupt status
operator_timersel
Select specific timer for PWM operators.
timer
Cluster Cluster TIMER%s, containing TIMER?_CFG0, TIMER?_CFG1, TIMER?_SYNC, TIMER?_STATUS
timer_synci_cfg
Synchronization input selection for three PWM timers.
update_cfg
Enable update.
version
Version register.

Structs§

RegisterBlock
Register block

Type Aliases§

CAP_CH
CAP_CH (r) register accessor: Value of last capture on channel %s
CAP_CH_CFG
CAP_CH_CFG (rw) register accessor: Capture channel %s configuration and enable
CAP_STATUS
CAP_STATUS (r) register accessor: Edge of last capture trigger
CAP_TIMER_CFG
CAP_TIMER_CFG (rw) register accessor: Configure capture timer
CAP_TIMER_PHASE
CAP_TIMER_PHASE (rw) register accessor: Phase for capture timer sync
CLK
CLK (rw) register accessor: MCPWM APB configuration register
CLK_CFG
CLK_CFG (rw) register accessor: PWM clock prescaler register.
FAULT_DETECT
FAULT_DETECT (rw) register accessor: Fault detection configuration and status
INT_CLR
INT_CLR (w) register accessor: Interrupt clear bits
INT_ENA
INT_ENA (rw) register accessor: Interrupt enable bits
INT_RAW
INT_RAW (rw) register accessor: Raw interrupt status
INT_ST
INT_ST (r) register accessor: Masked interrupt status
OPERATOR_TIMERSEL
OPERATOR_TIMERSEL (rw) register accessor: Select specific timer for PWM operators.
TIMER_SYNCI_CFG
TIMER_SYNCI_CFG (rw) register accessor: Synchronization input selection for three PWM timers.
UPDATE_CFG
UPDATE_CFG (rw) register accessor: Enable update.
VERSION
VERSION (rw) register accessor: Version register.