ed-xmos / lib_one_wire

An efficient one wire controller server for XMOS xCORE devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

An efficient one wire controller server for XMOS xCORE devices

License:Other


Languages

Language:XC 84.6%Language:C 15.4%