# one_wire

one wire JAL library

Author | Vasile Surducan, Copyright © 2009..2020, all rights reserved.
Adapted-by | Jean Marchaudon, Joep Suijs, Oliver "Kiste" Seitz
Compiler | >=2.5r4

Description

    Library to interface with Dallas / Maxim one-wire-bus devices

    Pin used for the 1-wire bus must be define these in your program
    before including the library. E.g.:
    alias d1w_bus		is pin_c1
    alias d1w_bus_direction	is pin_c1_direction

Dependencies

No dependency found

## Summary

### Global variables/contants

### Procedures

- `d1w_reset()`
- `d1w_write_byte( byte in e )`
- `d1w_read_byte( byte out c )`
- `d1w_init()`

Private

- `_d1w_write_bit( bit in x )`
- `_d1w_read_bit( bit out x )`

### Functions

- `d1w_present() return bit`

## API details

### Global variables/contants

### Procedures

- `d1w_reset()`

  No documentation found

- `d1w_write_byte( byte in e )`

  No documentation found

- `d1w_read_byte( byte out c )`

  No documentation found

- `d1w_init()`

  No documentation found

Private

- `_d1w_write_bit( bit in x )`

  No documentation found

- `_d1w_read_bit( bit out x )`

  No documentation found

### Functions

- `d1w_present() return bit`

  No documentation found

## Related samples

Here are the list of samples which use this library:

16f648a | 16f648a_ds18b20_single.jal
16f877 | 16f877_ds18b20_single.jal
16f877a | 16f877a_ds18b20_single.jal
16f88 | 16f88_ds18b20_single.jal
18f2450 | 18f2450_ds18b20_single.jal
18f2585 | 18f2585_1wire_ds1820.jal
18f452 | 18f452_ds18b20_single.jal
18f4550 | 18f4550_ds18b20_single.jal