libyggdrasil  v1.0.0
yggdrasil.hpp
Go to the documentation of this file.
1  /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * _____.___. .___ .__.__ *
3  * \__ | | ____ ____ __| _/___________ _____|__| | *
4  * / | |/ ___\ / ___\ / __ |\_ __ \__ \ / ___/ | | *
5  * \____ / /_/ > /_/ > /_/ | | | \// __ \_\___ \| | |__ *
6  * / ______\___ /\___ /\____ | |__| (____ /____ >__|____/ *
7  * \/ /_____//_____/ \/ \/ \/ *
8  * - Yggdrasil - *
9  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
10  * This software can be used by students and other personal of the *
11  * Bern University of Applied Sciences under the terms of the MIT *
12  * license. *
13  * For other persons this software is under the terms of the GNU *
14  * General Public License version 2. *
15  * *
16  * Copyright © 2021, Bern University of Applied Sciences. *
17  * All rights reserved. *
18  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
26 #pragma once
27 
28 #include <cpp/yggdrasil/types.hpp>
29 
30 #if defined(YGGDRASIL_PERIPHERAL_DEFS)
31 
32  namespace bsp::ygg {
33 
34  constexpr auto NoData = std::array<u8, 0>{ };
35 
36  }
37 
38 #if BOARD == MIDGARD
49 #elif BOARD == ASGARD
57 #elif BOARD == ASGARD_COPROC
68 #endif
69 
70 #endif
joystick.hpp
Driver to use the Joysticks using the external TLA2024IRUGT ADC.
sink_driver.hpp
Driver to use the sink drivers.
types.hpp
Common type definitions used within drivers for yggdrasil.
six_axis_sensor.hpp
Driver to use the ICM-42605 Six Axis Sensor.
rtc.hpp
Driver to use the RV-3028-C7 RTC.
seven_segment.hpp
Driver to use the Seven segment display.
humidity_sensor.hpp
Driver to use the SHT40-AD1B-R2 humidity sensor.
color_sensor.hpp
Driver to use the TCS3472 color sensor.
pressure_sensor.hpp
Driver to use the LPS22HBTR pressure sensor.
rgb_matrix.hpp
Driver to use the SK9822 RGB Led (APA102 clone)
bsp::ygg
Definition: color_sensor.hpp:32
motor_driver.hpp
Driver to use the TC78H660FTG DC motor driver.