Nut/OS  5.0.5
API Reference
owibus_uartif.h File Reference
#include <sys/device.h>
Include dependency graph for owibus_uartif.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _NUTOWIINFO_UART
 OWI runtime control block container. More...

Defines

#define OWI_UART_WRITE_RST   0xf0
 Data to send on the UART for the OWI primitives.
#define OWI_UART_WRITE_ONE   0xff
 UART data for write '1' and read.
#define OWI_UART_WRITE_ZERO   0x00
 UART data for write '0'.
#define OWI_UART_READ_ONE   0x01
 Data to expect from the UART for the OWI primitives.
#define OWI_UART_BAUD_RESET   9600
 Baud rates to use for OWI primitives.
#define OWI_UART_BAUD_RWBIT   115200
 UART baudrate for RW bit.

Typedefs

typedef struct _NUTOWIINFO_UART NUTOWIINFO_UART

Functions

int NutRegisterOwiBus_Uart (NUTOWIBUS *bus, NUTDEVICE *uart, int pullup_port, uint_fast8_t pullup_pin)
 Register the One-Wire bus.