https://github.com/ed-xmos/lib_one_wire
An efficient one wire controller server for XMOS xCORE devices
https://github.com/ed-xmos/lib_one_wire
1-wire ds18b20 ds18s20 library one-wire onewire w1 xcore xmos
Last synced: 4 months ago
JSON representation
An efficient one wire controller server for XMOS xCORE devices
- Host: GitHub
- URL: https://github.com/ed-xmos/lib_one_wire
- Owner: ed-xmos
- License: other
- Created: 2018-02-01T13:35:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T13:58:47.000Z (over 8 years ago)
- Last Synced: 2025-10-23T18:48:23.472Z (8 months ago)
- Topics: 1-wire, ds18b20, ds18s20, library, one-wire, onewire, w1, xcore, xmos
- Language: XC
- Size: 13.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
One Wire Library
================
Summary
-------
A software library that allows you to control a one wire device.
Features
........
* Asynchronous interface with callback allowing client to processes other items concurrently
* Blocking wait function provide for simple use case
* Uses single 1-bit port
* Combinable task - means it can share a logical core with other low-preformance, minimally blocking tasks
* Supports xCORE200 and XS1 devices (tested on xCORE200)
Resource Usage
..............
.. resusage::
* - configuration: |I2S| Master
- globals: port p_ow = XS1_PORT_1A;
- locals: one_wire_if i_one_wire;
- fn: one_wire(i_one_wire, p_ow);
- pins: 1
- ports: 1 x (1-bit)
- cores: 1
- target: XCORE-200-EXPLORER
Software version and dependencies
.................................
.. libdeps::
Related application notes
.........................
The following application notes use this library:
* See examples at https://github.com/ed-xmos/lib_one_wire/tree/master/examples/app_ds182s20