Andy K / MODADF4360
Embed: (wiki syntax)

« Back to documentation index

ADF4360 Class Reference

ADF4360 Class Reference

#include <MODADF4360.h>


Detailed Description

Author:
Andy Kirkham
See also:
The Control Latch
The Counter N Latch
The Counter R Latch

MODADF4360 Test library

Standard example:

 #include "mbed.h"
 #include "MODADF4360.h"

 DigitalOut led1(LED1);
 ADF4360  adf(p5, p6, p7, p8);

 int main() {

     // Setup all the parts of the Control Latch
     adf.prescalerValue(1);
     adf.cpGain(1);
     //... set all the parts you need, then...
     
     // Once all the parts ate set, write them to the device.
     adf.controlLatchWrite();

     // repeat for N and R latches.

     while(1) {
         led1 = !led1;
         wait(1);
     }
 }

Definition at line 74 of file MODADF4360.h.