#include "complex.h"Go to the source code of this file.
Functions | |
| int32_t | dds_phase_step (float frequency) |
| Find the phase step value to achieve a particular frequency. | |
| int | dds_scaling_dbm0 (float level) |
| Find the scaling factor needed to achieve a specified level in dBm0. | |
| int | dds_scaling_dbov (float level) |
| int16_t | dds_lookup (uint32_t phase) |
| Find the amplitude for a particular phase. | |
| int16_t | dds_offset (uint32_t phase_acc, int32_t phase_offset) |
| Find the amplitude for a particular phase offset from an accumulated phase. | |
| int16_t | dds (uint32_t *phase_acc, int32_t phase_rate) |
| Generate an integer tone sample. | |
| int16_t | dds_mod (uint32_t *phase_acc, int32_t phase_rate, int scale, int32_t phase) |
| Generate an integer tone sample, with modulation. | |
| icomplex_t | dds_complex (uint32_t *phase_acc, int32_t phase_rate) |
| Generate a complex integer tone sample. | |
| icomplex_t | dds_complex_mod (uint32_t *phase_acc, int32_t phase_rate, int scale, int32_t phase) |
| Generate a complex integer tone sample, with modulation. | |
| int32_t | dds_phase_stepf (float frequency) |
| float | dds_scaling_dbm0f (float level) |
| float | dds_scaling_dbovf (float level) |
| float | ddsf (uint32_t *phase_acc, int32_t phase_rate) |
| Generate a floating point tone sample. | |
| float | dds_modf (uint32_t *phase_acc, int32_t phase_rate, float scale, int32_t phase) |
| Generate a floating point tone sample, with modulation. | |
| complex_t | dds_complexf (uint32_t *phase_acc, int32_t phase_rate) |
| Generate a complex floating point tone sample. | |
| complex_t | dds_complex_modf (uint32_t *phase_acc, int32_t phase_rate, float scale, int32_t phase) |
| Generate a complex floating point tone sample, with modulation. | |
| int16_t dds | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate | |||
| ) |
Generate an integer tone sample.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. |
| icomplex_t dds_complex | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate | |||
| ) |
Generate a complex integer tone sample.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. |
| icomplex_t dds_complex_mod | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate, | |||
| int | scale, | |||
| int32_t | phase | |||
| ) |
Generate a complex integer tone sample, with modulation.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. | |
| scale | The scaling factor. | |
| phase | The phase offset. |
| complex_t dds_complex_modf | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate, | |||
| float | scale, | |||
| int32_t | phase | |||
| ) |
Generate a complex floating point tone sample, with modulation.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. | |
| scale | The scaling factor. | |
| phase | The phase offset. |
| complex_t dds_complexf | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate | |||
| ) |
Generate a complex floating point tone sample.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. |
| int16_t dds_lookup | ( | uint32_t | phase | ) |
Find the amplitude for a particular phase.
| phase | The desired phase 32 bit phase. |
| int16_t dds_mod | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate, | |||
| int | scale, | |||
| int32_t | phase | |||
| ) |
Generate an integer tone sample, with modulation.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. | |
| scale | The scaling factor. | |
| phase | The phase offset. |
| float dds_modf | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate, | |||
| float | scale, | |||
| int32_t | phase | |||
| ) |
Generate a floating point tone sample, with modulation.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. | |
| scale | The scaling factor. | |
| phase | The phase offset. |
| int16_t dds_offset | ( | uint32_t | phase_acc, | |
| int32_t | phase_offset | |||
| ) |
Find the amplitude for a particular phase offset from an accumulated phase.
| phase_acc | The accumulated phase. | |
| phase_offset | The phase offset. |
| int32_t dds_phase_step | ( | float | frequency | ) |
Find the phase step value to achieve a particular frequency.
| frequency | The desired frequency, in Hertz. |
| int dds_scaling_dbm0 | ( | float | level | ) |
Find the scaling factor needed to achieve a specified level in dBm0.
| level | The desired signal level, in dBm0. |
| float ddsf | ( | uint32_t * | phase_acc, | |
| int32_t | phase_rate | |||
| ) |
Generate a floating point tone sample.
| phase_acc | A pointer to a phase accumulator value. | |
| phase_rate | The phase increment to be applied. |
1.4.7