| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

Functions
LTC6904.cpp File Reference
RF, Silicon Oscillators, PLL Synthesizers, and VCOs » LTC6904: 1kHz to 68MHz Serial Port Programmable Oscillator

Library for LTC6904: 1kHz to 68MHz Serial Port Programmable Oscillator. More...

## Detailed Description

Library for LTC6904: 1kHz to 68MHz Serial Port Programmable Oscillator.

Definition in file LTC6904.cpp.

Go to the source code of this file.

## Functions
uint8_t | LTC6904_write (uint8_t address, uint16_t code)
| Writes 2 bytes. More...
uint16_t | LTC6904_frequency_to_code (float frequency, uint8_t clk)
| Calculates the code necessary to create the clock frequency. More...

## Function Documentation

## ◆ LTC6904_frequency_to_code()

uint16_t LTC6904_frequency_to_code | ( | float | frequency,
|  | uint8_t | clk
| ) |  |

Calculates the code necessary to create the clock frequency.

Returns
  the code for the LTC6904

Parameters

  frequency | Clock frequency in MHz
  clk | Output configuration

Definition at line 82 of file LTC6904.cpp.

## ◆ LTC6904_write()

uint8_t LTC6904_write | ( | uint8_t | address,
|  | uint16_t | code
| ) |  |

Writes 2 bytes.

Returns
  1 if successful, 0 if failure

Parameters

  address | I2C address
  code | Code to be written

Definition at line 73 of file LTC6904.cpp.