| Linduino 1.3.0 Linear Technology Arduino-Compatible Demonstration Board

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

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

## Detailed Description

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

Definition in file LTC6903.cpp.

Go to the source code of this file.

## Functions
void | LTC6903_write (uint8_t cs, uint16_t code)
| Writes 2 bytes. More...
uint16_t | LTC6903_frequency_to_code (float frequency, uint8_t clk)
| Calculates the code necessary to create the clock frequency. More...

## Function Documentation

## ◆ LTC6903_frequency_to_code()

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

Calculates the code necessary to create the clock frequency.

Returns
  the code for the LTC6903

Parameters

  frequency | Clock frequency in MHz
  clk | Output configuration

Definition at line 81 of file LTC6903.cpp.

## ◆ LTC6903_write()

void LTC6903_write | ( | uint8_t | cs,
|  | uint16_t | code
| ) |  |

Writes 2 bytes.

Returns
  1 if successful, 0 if failure

Parameters

  cs | Chip Select Pin
  code | Code to be written

Definition at line 73 of file LTC6903.cpp.