libpruw1  0.4
One wire (W1) driver for Beaglebone hardware based on libpruio
pruw1.bi File Reference

The declarations for the PruW1 class. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PruW1
 The W1 driver class. More...
 

Typedefs

typedef SHORT Int16
 
typedef ULONGINT UInt64
 

Enumerations

enum  LineModus { PRUW1_PARPOW = &b01 , PRUW1_PULLUP = &b10 , PRUW1_PARPOW = 0x1 , PRUW1_PULLUP = 0x2 }
 Masks for line idle configuration. More...
 

Functions

FUNCTION_AS_Int16 T_fam10 (BYVAL_AS_UInt8_PTR)
 
FUNCTION_AS_Int16 T_fam20 (BYVAL_AS_UInt8_PTR)
 

Detailed Description

The declarations for the PruW1 class.

This file contains the declarations for the PruW1 class. Include it to compile against the library (#INCLUDE ONCE "BBB/pruw1.bi").

Since
0.0

Definition in file pruw1.bi.

Enumeration Type Documentation

◆ LineModus

enum LineModus

Masks for line idle configuration.

This enumerators are for use in CTOR PruW1::PruW1() to configure the line idle modus, regarding parasite power support and the use of the internal pull up resistor.

Since
0.4
Enumerator
PRUW1_PARPOW 

Set line output high during idle.

PRUW1_PULLUP 

Activate internal pull up resistor (default)

PRUW1_PARPOW 

Set line output high during idle.

PRUW1_PULLUP 

Activate the internal pull up resistor.

Definition at line 28 of file pruw1.bi.