distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
STM32-SPIv1.hpp File Reference

Header for SPIv1 functions for STM32. More...

Include dependency graph for STM32-SPIv1.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::chip
 Chip-related code of distortos project.
 

Functions

void distortos::chip::configureSpi (const SpiPeripheral &spiPeripheral, devices::SpiMode mode, uint32_t clockFrequency, uint8_t wordLength, bool lsbFirst)
 Configures parameters of raw SPI peripheral. More...
 

Detailed Description

Header for SPIv1 functions for STM32.

Author
Copyright (C) 2016-2019 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/.