no-OS
Public Attributes | List of all members
pwm_desc Struct Reference

Structure representing an PWM generator device. More...

#include <pwm.h>

Public Attributes

uint32_t id
 
uint32_t period_ns
 
uint32_t duty_cycle_ns
 
uint32_t phase_ns
 
enum pwm_polarity polarity
 
bool enabled
 
void * extra
 

Detailed Description

Structure representing an PWM generator device.

Member Data Documentation

◆ duty_cycle_ns

uint32_t pwm_desc::duty_cycle_ns

PWM generator duty cycle

◆ enabled

bool pwm_desc::enabled

PWM generator enabled

◆ extra

void* pwm_desc::extra

PWM extra parameters (device specific)

◆ id

uint32_t pwm_desc::id

Pwm id

◆ period_ns

uint32_t pwm_desc::period_ns

PWM generator period

◆ phase_ns

uint32_t pwm_desc::phase_ns

PWM generator phase

◆ polarity

enum pwm_polarity pwm_desc::polarity

PWM generator polarity


The documentation for this struct was generated from the following file: