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

Structure containing the init parameters needed by the PWM generator. 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
 
void * extra
 

Detailed Description

Structure containing the init parameters needed by the PWM generator.

Member Data Documentation

◆ duty_cycle_ns

uint32_t no_os_pwm_init_param::duty_cycle_ns

PWM generator duty cycle

◆ extra

void* no_os_pwm_init_param::extra

PWM extra parameters (device specific)

◆ id

uint32_t no_os_pwm_init_param::id

Pwm id (Ex. Pin number, timer_id)

◆ period_ns

uint32_t no_os_pwm_init_param::period_ns

PWM generator period

◆ phase_ns

uint32_t no_os_pwm_init_param::phase_ns

PWM generator phase

◆ polarity

enum no_os_pwm_polarity no_os_pwm_init_param::polarity

PWM generator polarity


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