AVR library
Functions
ad9850.c File Reference

AD9850 routines. More...

#include <avr/io.h>
#include <util/delay.h>
#include "spi.h"
#include "hwdefs.h"

Functions

void ad9850_fu (void)
 
void ad9850_init (uint8_t fdiv)
 Initializes AD9850 in serial mode. More...
 
void ad9850_set (uint32_t f, uint8_t p)
 Sets frequency and phase. More...
 

Detailed Description

AD9850 routines.

Author
Matej Kogovsek (matej.nosp@m.@ham.nosp@m.radio.nosp@m..si)
Note
This file is part of mat-avr-lib

Function Documentation

void ad9850_init ( uint8_t  fdiv)

Initializes AD9850 in serial mode.

Parameters
[in]fdivfdiv passed to spi_init
void ad9850_set ( uint32_t  f,
uint8_t  p 
)

Sets frequency and phase.

Parameters
[in]fFrequency
[in]pPhase