/** ****************************************************************************** * @file onewire.h * @brief This file contains all the constants parameters for the OneWire ****************************************************************************** * @attention * Usage: * Uncomment LL Driver for HAL driver * ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef ONEWIRE_PORT_H #define ONEWIRE_PORT_H /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" #include "dwt.h" /* OneWire Timings -----------------------------------------------------------*/ #define OneWireDelay_uw(_us_) DwtDelay_us(_us_) /* Common Register -----------------------------------------------------------*/ #endif /* ONEWIRE_PORT_H */