FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pwm_t Struct Reference

Data Fields

volatile uint32_t cmd
 
volatile uint32_t config
 
volatile uint32_t threshold
 
volatile uint32_t ch_threshold [4]
 
volatile uint32_t ch_lut [4]
 
volatile uint32_t counter
 

Description

PWM_Type Register Layout Typedef

Field Documentation

volatile uint32_t pwm_t::ch_lut[4]

ADV_TIMER0 channel LUT configuration register.

volatile uint32_t pwm_t::ch_threshold[4]

ADV_TIMER0 channel threshold configuration register.

volatile uint32_t pwm_t::cmd

ADV_TIMER0 command register.

volatile uint32_t pwm_t::config

ADV_TIMER0 configuration register.

volatile uint32_t pwm_t::counter

ADV_TIMER0 counter register.

volatile uint32_t pwm_t::threshold

ADV_TIMER0 threshold configuration register.