![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Library for LTC6903: 1kHz to 68MHz Serial Port Programmable Oscillator. More...
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... | |
uint16_t LTC6903_frequency_to_code | ( | float | frequency, |
uint8_t | clk | ||
) |
Calculates the code necessary to create the clock frequency.
frequency | Clock frequency in MHz |
clk | Output configuration |
Definition at line 81 of file LTC6903.cpp.
void LTC6903_write | ( | uint8_t | cs, |
uint16_t | code | ||
) |
Writes 2 bytes.
cs | Chip Select Pin |
code | Code to be written |
Definition at line 73 of file LTC6903.cpp.