![]()  | 
  
    ACDC Senior Project v1.0.0
    
   Senior Project for Textron Aviation 
   | 
 
Header file for the LTC1298 12-bit ADC. More...
Go to the source code of this file.
Data Structures | |
| struct | LTC1298_t | 
Functions | |
| 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.   | |
| uint16_t | LTCADC_ReadCH0CS (LTC1298_t LTC_ADC) | 
| Reads the current ADC value on channel 0 (Software CS)   | |
| uint16_t | LTCADC_ReadCH1CS (LTC1298_t LTC_ADC) | 
| Reads the current ADC value on channel 1 (SoftwareCS)   | |
Header file for the LTC1298 12-bit ADC.
Initiliazes SPIx and the external LTC1298IS8 ADC. Also sets up the software CS pin for SPIx.
| SPIx | SPI Peripheral (Ex. SPI1 or SPI2) | 
| GPIOx | GPIO Port for the chip select pin (Ex. GPIOA, GPIOB, ...) | 
| GPIO_PIN | Desired chip select pin on port GPIOx (Ex. GPIO_PIN_0, GPIO_PIN_1, ...) | 
Reads the current ADC value on channel 0 (Software CS)
| LTC_ADC | Struct containing configuration data for the ADC |