12345678910111213141516171819202122232425 |
- /*
- * oneWireDriver.h
- *
- * Created on: 1 Feb 2022
- * Author: thomaschef
- */
- #ifndef INC_ONEWIREDRIVER_H_
- #define INC_ONEWIREDRIVER_H_
- void init_gpio_pin();
- void us_delay(uint16_t delay);
- void init_gpio_pin(void);
- void gpio_set_input(void);
- void gpio_set_output(void);
- int readInput();
- void writeBitHigh();
- void writeBitLow();
- void writeSlot(uint8_t data);
- uint8_t readSlot(void);
- void writeByte(uint8_t data);
- uint8_t readByte(void);
- uint8_t oneWire_init(void);
- #endif /* INC_ONEWIREDRIVER_H_ */
|