-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3601430
commit cc7a822
Showing
3 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Peripheral Definition File | ||
* | ||
* IWDG - Independent watchdog | ||
* | ||
* MCUs containing this peripheral: | ||
* - STM32F3xx | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <cstddef> | ||
|
||
#include "io/reg/stm32/_common/iwdg_v2.hpp" | ||
|
||
namespace io { | ||
|
||
namespace base { | ||
|
||
static constexpr size_t IWDG = 0x40003000; | ||
|
||
} | ||
|
||
static Iwdg &IWDG = *reinterpret_cast<Iwdg *>(base::IWDG); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Peripheral Definition File | ||
* | ||
* IWDG - Independent watchdog | ||
* | ||
* MCUs containing this peripheral: | ||
* - STM32F7xx | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <cstddef> | ||
|
||
#include "io/reg/stm32/_common/iwdg_v2.hpp" | ||
|
||
namespace io { | ||
|
||
namespace base { | ||
|
||
static constexpr size_t IWDG = 0x40003000; | ||
|
||
} | ||
|
||
static Iwdg &IWDG = *reinterpret_cast<Iwdg *>(base::IWDG); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Peripheral Definition File | ||
* | ||
* IWDG - Independent watchdog | ||
* | ||
* MCUs containing this peripheral: | ||
* - STM32L4xx | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <cstddef> | ||
|
||
#include "io/reg/stm32/_common/iwdg_v2.hpp" | ||
|
||
namespace io { | ||
|
||
namespace base { | ||
|
||
static constexpr size_t IWDG = 0x40003000; | ||
|
||
} | ||
|
||
static Iwdg &IWDG = *reinterpret_cast<Iwdg *>(base::IWDG); | ||
|
||
} |