10#ifndef __ACDC_LTC1298_ADC_H
11#define __ACDC_LTC1298_ADC_H
uint16_t LTCADC_ReadCH0CS(LTC1298_t LTC_ADC)
Reads the current ADC value on channel 0 (Software CS)
Definition ACDC_LTC1298_ADC.c:46
LTC1298_t LTCADC_InitCS(SPI_TypeDef *SPIx, GPIO_TypeDef *GPIOx, uint16_t GPIO_PIN)
Initiliazes SPIx and the external LTC1298IS8 ADC. Also sets up the software CS pin for SPIx.
Definition ACDC_LTC1298_ADC.c:38
uint16_t LTCADC_ReadCH1CS(LTC1298_t LTC_ADC)
Reads the current ADC value on channel 1 (SoftwareCS)
Definition ACDC_LTC1298_ADC.c:54
Header file for intx_t and uintx_t types.
unsigned short uint16_t
Definition ACDC_stdint.h:15
Definition ACDC_LTC1298_ADC.h:16
SPI_TypeDef * SPIx
Definition ACDC_LTC1298_ADC.h:17
GPIO_TypeDef * GPIOx_CS
Definition ACDC_LTC1298_ADC.h:18
uint16_t GPIO_PIN_CS
Definition ACDC_LTC1298_ADC.h:19