|
CycloneBOOT 2.6.6
Secure Bootloader for ARM Cortex-M MCU
|
CycloneBOOT MCU layer. More...
#include "boot_config.h"#include "os_port.h"#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | BOOT_CUSTOM_DEINIT_SUPPORT DISABLED |
| #define | MCU_DRIVER_VERSION_MAJOR 0x01 |
| #define | MCU_DRIVER_VERSION_MINOR 0x00 |
| #define | MCU_DRIVER_VERSION_PATCH 0x00 |
| #define | MCU_DRIVER_VERSION |
Enumerations | |
| enum | ResetCause { RESET_CAUSE_UNKNOWN = 0 , RESET_CAUSE_POWER_ON , RESET_CAUSE_PIN , RESET_CAUSE_SOFTWARE , RESET_CAUSE_WATCHDOG , RESET_CAUSE_LOW_POWER } |
| MCU reset cause. | |
Functions | |
| uint32_t | mcuGetVtorOffset (void) |
| Return mcu vector table offset. | |
| void | mcuSystemReset (void) |
| Reset MCU system. | |
| ResetCause | mcuGetResetCause (void) |
| Get the cause of the last reset. | |
CycloneBOOT MCU layer.
SPDX-License-Identifier: GPL-2.0-or-later
Copyright (C) 2021-2026 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneBOOT Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
| #define MCU_DRIVER_VERSION |
|
extern |
Get the cause of the last reset.
Get the cause of the last reset.
|
extern |
Return mcu vector table offset.
Return mcu vector table offset.
|
extern |
Reset MCU system.
Reset MCU system.