Function si8900_read_channel(UART_HandleTypeDef *, SI8900_CHANNEL, uint16_t *)¶
- Defined in File si8900.c
Function Documentation¶
-
bool
si8900_read_channel
(UART_HandleTypeDef *huart, SI8900_CHANNEL ch, uint16_t *voltage)¶ Reads a single ADC channel in demand mode.
- Return
- whether the reading succeded
- Parameters
huart
: The UART configuration structurech
: The channelvoltage
: The output voltage