Data Fields
PWMMSP432E4_HWAttrs Struct Reference

PWMMSP432E4 Hardware attributes. More...

#include <PWMMSP432E4.h>

Data Fields

uint32_t pwmBaseAddr
 
uint32_t pwmOutput
 
uint32_t pwmGenOpts
 
uint32_t pinConfig
 

Detailed Description

PWMMSP432E4 Hardware attributes.

These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSP432E4 driverlib these definitions are found in:

A sample structure is shown below:

const PWMMSP432E4_HWAttrs PWMMSP432E4HWAttrs[] = {
{
.pwmBaseAddr = PWM0_BASE,
.pwmOutput = PWM_OUT_0,
.pwmGenOpts = PWM_GEN_MODE_DOWN | PWM_GEN_MODE_DBG_RUN,
.pinPwmMode = PWMMSP432E4__PF0_M0PWM0
}
};

Field Documentation

§ pwmBaseAddr

uint32_t PWMMSP432E4_HWAttrs::pwmBaseAddr

< PWM peripheral base address (ex.: PWM0_BASE, PWM1_BASE, etc.). Encoded PWM offset address (ex.: PWM_OUT_0, PWM_OUT_5, etc.).

§ pwmOutput

uint32_t PWMMSP432E4_HWAttrs::pwmOutput

Generator options for PWM (ex.: PWM_GEN_MODE_DOWN | PWM_GEN_MODE_DBG_RUN).

§ pwmGenOpts

uint32_t PWMMSP432E4_HWAttrs::pwmGenOpts

PWM pin config (ex.: PWMMSP432E4_PF0_M0PWM0, PWMMSP432E4_PF1_M0PWM1, etc.).

§ pinConfig

uint32_t PWMMSP432E4_HWAttrs::pinConfig

The documentation for this struct was generated from the following file:
Copyright 2017, Texas Instruments Incorporated