| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /**
- * @file HW_RESET_ATY.h
- *
- * @param Project DEVICE_GENERAL_ATY_LIB
- *
- * @author ATY
- *
- * @copyright
- * - Copyright 2017 - 2026 MZ-ATY
- * - This code follows:
- * - MZ-ATY Various Contents Joint Statement -
- * <a href="https://mengze.top/MZ-ATY_VCJS">
- * https://mengze.top/MZ-ATY_VCJS</a>
- * - CC 4.0 BY-NC-SA -
- * <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">
- * https://creativecommons.org/licenses/by-nc-sa/4.0/</a>
- * - Your use will be deemed to have accepted the terms of this statement.
- *
- * @brief functions of soft reset for CMSIS devices
- *
- * @version
- * - 1_01_221029 > ATY
- * -# Preliminary version, first Release
- ********************************************************************************
- */
- #ifndef __HW_RESET_ATY_H
- #define __HW_RESET_ATY_H
- #include "INCLUDE_ATY.h"
- /******************************* For user *************************************/
- // Enable RTC to transmit info to app
- #ifndef APPLICATION_ADDRESS
- /* Start user code address: ADDR_FLASH_PAGE_8 */
- #define APPLICATION_ADDRESS (uint32_t)0x08006000
- #endif
- /******************************************************************************/
- void ResetBeforeJumpToApp(void);
- void Bootloader_DeInit(void);
- void JumpToApp(uint32_t addr);
- void UsbReconnect(void);
- void BL_JumpToAppFull(uint32_t addr);
- void APP_StartupInit(void);
- typedef void (*pFunction)(void);
- #endif /* __HW_RESET_ATY_H */
- /******************************** End Of File *********************************/
|