NEORV32 API Reference
The NEORV32 RISC-V Processor
Loading...
Searching...
No Matches
neorv32_pwm_t Struct Reference

#include <neorv32_pwm.h>

Data Fields

uint32_t ENABLE
 
uint32_t POLARITY
 
uint32_t CLKPRSC
 
const uint32_t reserved [29]
 
union { 
 
   uint32_t   TOPCMP 
 
   struct { 
 
      uint16_t   CMP 
 
      uint16_t   TOP 
 
   }  
 
CHANNEL [32] 
 

Detailed Description

PWM module prototype

Field Documentation

◆ CLKPRSC

uint32_t neorv32_pwm_t::CLKPRSC

global clock prescaler

◆ CMP

uint16_t neorv32_pwm_t::CMP

per-channel counter compare value

◆ ENABLE

uint32_t neorv32_pwm_t::ENABLE

per-channel enable

◆ POLARITY

uint32_t neorv32_pwm_t::POLARITY

per-channel polarity

◆ reserved

const uint32_t neorv32_pwm_t::reserved[29]

reserved

◆ TOP

uint16_t neorv32_pwm_t::TOP

per-channel counter wrap value

◆ TOPCMP

uint32_t neorv32_pwm_t::TOPCMP

full 32-bit channel access


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