distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
SpiMode.hpp File Reference

SpiMode enum class header. More...

#include <cstdint>
Include dependency graph for SpiMode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 distortos
 Top-level namespace of distortos project.
 
 distortos::devices
 Device drivers.
 

Enumerations

enum  distortos::devices::SpiMode : uint8_t {
  distortos::devices::SpiMode::_0 = 0 << 0 | 0 << 1, distortos::devices::SpiMode::_1 = 0 << 0 | 1 << 1, distortos::devices::SpiMode::_2 = 1 << 0 | 0 << 1, distortos::devices::SpiMode::_3 = 1 << 0 | 1 << 1,
  distortos::devices::SpiMode::cpol0cpha0 = _0, distortos::devices::SpiMode::cpol0cpha1 = _1, distortos::devices::SpiMode::cpol1cpha0 = _2, distortos::devices::SpiMode::cpol1cpha1 = _3
}
 

Detailed Description

SpiMode enum class header.

Author
Copyright (C) 2016-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.