driver ad9833 basic header file
uint8_t ad9833_set_internal_clock_disable(ad9833_handle_t *handle, ad9833_bool_t enable)
enable or disable internal clock disable
uint8_t ad9833_frequency_convert_to_register(ad9833_handle_t *handle, double hz, uint32_t *reg)
convert the frequency to the register raw data
ad9833_number_t
ad9833 number enumeration definition
uint8_t ad9833_set_dac_power_down(ad9833_handle_t *handle, ad9833_bool_t enable)
enable or disable dac power down
struct ad9833_handle_s ad9833_handle_t
ad9833 handle structure definition
uint8_t ad9833_set_used_frequency_register(ad9833_handle_t *handle, ad9833_number_t number)
set the used frequency register
uint8_t ad9833_phase_convert_to_register(ad9833_handle_t *handle, double rad, uint16_t *reg)
convert the phase to the register raw data
uint8_t ad9833_set_output_mode(ad9833_handle_t *handle, ad9833_output_mode_t mode)
set output mode
uint8_t ad9833_init(ad9833_handle_t *handle)
initialize the chip
ad9833_output_mode_t
ad9833 output mode enumeration definition
uint8_t ad9833_set_frequency(ad9833_handle_t *handle, ad9833_number_t number, uint32_t freq)
set the frequency
uint8_t ad9833_deinit(ad9833_handle_t *handle)
close the chip
uint8_t ad9833_set_used_phase_register(ad9833_handle_t *handle, ad9833_number_t number)
set the used phase register
uint8_t ad9833_set_phase(ad9833_handle_t *handle, ad9833_number_t number, uint16_t phase)
set the phase
uint8_t ad9833_basic_set_output_mode(ad9833_output_mode_t mode)
basic example set output mode
uint8_t ad9833_basic_deinit(void)
basic example deinit
uint8_t ad9833_basic_set_frequency(ad9833_number_t number, double hz)
basic example set frequency
uint8_t ad9833_basic_set_used_register(ad9833_number_t number)
basic example set used register
uint8_t ad9833_basic_set_phase(ad9833_number_t number, double rad)
basic example set phase
uint8_t ad9833_basic_init(void)
basic example init
void ad9833_interface_debug_print(const char *const fmt,...)
interface print format data
uint8_t ad9833_interface_spi_write_cmd(uint8_t *buf, uint16_t len)
interface spi bus write command
uint8_t ad9833_interface_spi_init(void)
interface spi bus init
uint8_t ad9833_interface_spi_deinit(void)
interface spi bus deinit
void ad9833_interface_delay_ms(uint32_t ms)
interface delay ms
#define DRIVER_AD9833_LINK_SPI_DEINIT(HANDLE, FUC)
link spi_deinit function
#define DRIVER_AD9833_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
#define DRIVER_AD9833_LINK_SPI_INIT(HANDLE, FUC)
link spi_init function
#define DRIVER_AD9833_LINK_INIT(HANDLE, STRUCTURE)
initialize ad9833_handle_t structure
#define DRIVER_AD9833_LINK_SPI_WRITE_CMD(HANDLE, FUC)
link spi_write_cmd function
#define DRIVER_AD9833_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function