Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board

Library for LTC2508 32-Bit Over-Sampling ADC with Configurable Digital Filter. More...

Detailed Description

Library for LTC2508 32-Bit Over-Sampling ADC with Configurable Digital Filter.

Definition in file LTC2508.cpp.

Go to the source code of this file.

Functions

float LTC2508_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 LTC2508_read_data (uint8_t QUIKEVAL_CS, uint16_t *DF)
 Reads 5 bytes of data on SPI - D31:D0 + W7:W0. More...
 

Function Documentation

◆ LTC2508_code_to_voltage()

float LTC2508_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 LTC2508.cpp.

◆ LTC2508_read_data()

uint32_t LTC2508_read_data ( uint8_t  QUIKEVAL_CS,
uint16_t *  DF 
)

Reads 5 bytes of data on SPI - D31:D0 + W7:W0.

Definition at line 98 of file LTC2508.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 84 of file LTC2508.cpp.