forked from ckormanyos/real-time-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmcal_reg.h
30 lines (25 loc) · 916 Bytes
/
mcal_reg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
///////////////////////////////////////////////////////////////////////////////
// Copyright Christopher Kormanyos 2007 - 2021.
// Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef _MCAL_REG_2011_11_04_H_
#define _MCAL_REG_2011_11_04_H_
#include <cstdint>
namespace mcal
{
namespace reg
{
constexpr std::uint8_t portb = 0x25U;
constexpr std::uint8_t bval0 = 0x01U;
constexpr std::uint8_t bval1 = 0x01U << 1U;
constexpr std::uint8_t bval2 = 0x01U << 2U;
constexpr std::uint8_t bval3 = 0x01U << 3U;
constexpr std::uint8_t bval4 = 0x01U << 4U;
constexpr std::uint8_t bval5 = 0x01U << 5U;
constexpr std::uint8_t bval6 = 0x01U << 6U;
constexpr std::uint8_t bval7 = 0x01U << 7U;
}
}
#endif // _MCAL_REGISTERS_2011_11_04_H_