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

getBusFrequency() definition for STM32F4 More...

Include dependency graph for getBusFrequency.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

constexpr uint32_t distortos::chip::getBusFrequency (const uintptr_t peripheralBase)
 Returns frequency of the bus to which given peripheral is connected. More...
 

Detailed Description

getBusFrequency() definition for STM32F4

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