rdp1-bypass/target.h
Daniele Lacamera c6350f2f65 Initial commit
2018-07-26 08:08:29 +02:00

26 lines
610 B
C

/*
* This Source Code Form is subject to the terms of the MIT License.
* If a copy of the MIT License was not distributed with this file,
* you can obtain one at https://opensource.org/licenses/MIT
*/
#ifndef INC_TARGET_H
#define INC_TARGET_H
#define RCC_AHBENR_GPIO_RESET (RCC_AHBENR_GPIOAEN)
#define RCC_AHBENR_GPIO_POWER (RCC_AHBENR_GPIOAEN)
#define GPIO_RESET (GPIOA)
#define PIN_RESET (11u)
#define GPIO_POWER (GPIOA)
#define PIN_POWER (12u)
void targetSysCtrlInit( void );
void targetSysReset( void );
void targetSysUnReset( void );
void targetSysOff( void );
void targetSysOn( void );
#endif