Public Attributes | List of all members
no_os_pwm_desc Struct Reference

Structure representing an PWM generator device. More...

#include <no_os_pwm.h>

Public Attributes

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

Detailed Description

Structure representing an PWM generator device.

Member Data Documentation

◆ duty_cycle_ns

uint32_t no_os_pwm_desc::duty_cycle_ns

PWM generator duty cycle

◆ enabled

bool no_os_pwm_desc::enabled

PWM generator enabled

◆ extra

void* no_os_pwm_desc::extra

PWM extra parameters (device specific)

◆ id

uint32_t no_os_pwm_desc::id

Pwm id

◆ period_ns

uint32_t no_os_pwm_desc::period_ns

PWM generator period

◆ phase_ns

uint32_t no_os_pwm_desc::phase_ns

PWM generator phase

◆ polarity

enum no_os_pwm_polarity no_os_pwm_desc::polarity

PWM generator polarity

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