stm32f103rb_hal_ds18b20

Index Commits Files Refs README
app/inc/ds18b20.h (490B)
   1 /*
   2  * Copyright (c) 2026 Martin Javier Klöckner <mklockner@fi.uba.ar>
   3  *
   4  * See file `LICENSE` for full details
   5  */
   6 
   7 #ifndef DS18B20_H_
   8 #define DS18B20_H_
   9 
  10 #ifdef __cplusplus
  11 extern "C" {
  12 #endif
  13 
  14 void UART1_SetBaud(uint32_t baud);
  15 void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart);
  16 
  17 void DS18B20_Init(void);
  18 void DS18B20_Write(uint8_t data);
  19 void DS18B20_Read_temp(void);
  20 uint8_t DS18B20_Read(void);
  21 uint8_t DS18B20_Reset(void);
  22 
  23 #ifdef __cplusplus
  24 }
  25 #endif
  26 
  27 #endif /* DS18B20_H_ */