Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board

Library for LTC2512 24-Bit Over-Sampling ADC with Configurable Digital Filter. More...

Detailed Description

Library for LTC2512 24-Bit Over-Sampling ADC with Configurable Digital Filter.

Definition in file LTC2512.cpp.

Go to the source code of this file.

Functions

float LTC2512_code_to_voltage (int32_t code, float vref)
 Calculates the output voltage from the given digital code and reference voltage. More...
 
void send_pulses (uint8_t pin, uint16_t num_of_pulses)
 Send n num of pulses on pin given. More...
 
uint32_t LTC2512_read_data (uint8_t QUIKEVAL_CS, uint16_t *DF)
 Reads 4 bytes of data on SPI - D23:D0 + W7:W0. More...
 

Function Documentation

◆ LTC2512_code_to_voltage()

float LTC2512_code_to_voltage ( int32_t  code,
float  vref 
)

Calculates the output voltage from the given digital code and reference voltage.

Definition at line 76 of file LTC2512.cpp.

◆ LTC2512_read_data()

uint32_t LTC2512_read_data ( uint8_t  QUIKEVAL_CS,
uint16_t *  DF 
)

Reads 4 bytes of data on SPI - D23:D0 + W7:W0.

Definition at line 101 of file LTC2512.cpp.

◆ send_pulses()

void send_pulses ( uint8_t  pin,
uint16_t  num_of_pulses 
)

Send n num of pulses on pin given.

Definition at line 87 of file LTC2512.cpp.