![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Library for LTC6904: 1kHz to 68MHz Serial Port Programmable Oscillator. More...
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... | |
uint16_t LTC6904_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 82 of file LTC6904.cpp.
uint8_t LTC6904_write | ( | uint8_t | address, |
uint16_t | code | ||
) |
Writes 2 bytes.
address | I2C address |
code | Code to be written |
Definition at line 73 of file LTC6904.cpp.