ad9910

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FreqOutToFTW

func FreqOutToFTW(freqOut, sysClk float64) uint32

FreqOutToFTW returns the frequency-tuning word (FTW) given an output frequency and system clock in Hz.

func LinAmplScaleToASF

func LinAmplScaleToASF(amplScale float64) uint16

LinAmplScaleToASF returns the amplitude scale factor (ASF) given a linear amplitude scale from 0.0 to 1.0.

func LogAmplScaleToASF

func LogAmplScaleToASF(amplScale float64) uint16

LogAmplScaleToASF returns the amplitude scale factor (ASF) given an amplitude scale in dB relative to maximum output.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL