LTPS C++ API
List of all members
GpioReturn Struct Reference

Structure for return values. More...

#include <gpio.h>

Detailed Description

Structure for return values.

Author
Vitaly Gribko (vital.nosp@m.iy.g.nosp@m.ribko.nosp@m.@tib.nosp@m.bo.co.nosp@m.m)

Bit arithmetic

  1. To disable n bit in data data &= ~(1 << n) 2.To enable n bit in data data |= (1 << n)
  2. To toogle n bit in data data ^= (1 << n)
  3. To get n nit in data (data >> n) & 1

The documentation for this struct was generated from the following file: