uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
Data Fields
wave_state Struct Reference

Internal state of a wave. More...

#include <wave.h>

Collaboration diagram for wave_state:
Collaboration graph

Data Fields

uint16_t speed_prescaler
 Prescaler value for the speed counter. More...
 
uint16_t speed_counter
 Current speed counter value. More...
 
uint8_t step_counter
 Current step counter value. More...
 
enum direction step_direction
 Current step counter direction. More...
 

Detailed Description

Internal state of a wave.

See also
direction

Field Documentation

◆ speed_counter

uint16_t wave_state::speed_counter

Current speed counter value.

◆ speed_prescaler

uint16_t wave_state::speed_prescaler

Prescaler value for the speed counter.

◆ step_counter

uint8_t wave_state::step_counter

Current step counter value.

◆ step_direction

enum direction wave_state::step_direction

Current step counter direction.


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