/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * This file was automatically generated by headergen, DO NOT EDIT it. * headergen version: 3.0.0 * stm32h743 version: 1.0 * stm32h743 authors: Aidan MacDonald * * Copyright (C) 2015 by the authors * * 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 software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ****************************************************************************/ #ifndef __HEADERGEN_SYSCFG_H__ #define __HEADERGEN_SYSCFG_H__ #include "macro.h" #define STA_SYSCFG (0x58000400) #define REG_SYSCFG_PWRCFG st_reg(SYSCFG_PWRCFG) #define STA_SYSCFG_PWRCFG (0x58000400 + 0x2c) #define STO_SYSCFG_PWRCFG (0x2c) #define STT_SYSCFG_PWRCFG STIO_32_RW #define STN_SYSCFG_PWRCFG SYSCFG_PWRCFG #define BP_SYSCFG_PWRCFG_ODEN 0 #define BM_SYSCFG_PWRCFG_ODEN 0x1 #define BF_SYSCFG_PWRCFG_ODEN(v) (((v) & 0x1) << 0) #define BFM_SYSCFG_PWRCFG_ODEN(v) BM_SYSCFG_PWRCFG_ODEN #define BF_SYSCFG_PWRCFG_ODEN_V(e) BF_SYSCFG_PWRCFG_ODEN(BV_SYSCFG_PWRCFG_ODEN__##e) #define BFM_SYSCFG_PWRCFG_ODEN_V(v) BM_SYSCFG_PWRCFG_ODEN #endif /* __HEADERGEN_SYSCFG_H__*/