stm32mp1_dbgmcu.h 403 Bytes
Newer Older
Yann Gautier's avatar
Yann Gautier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2015-2019, STMicroelectronics - All Rights Reserved
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef STM32MP1_DBGMCU_H
#define STM32MP1_DBGMCU_H

/*
 * Freeze watchdog when a debugger is attached, if the security configuration
 * allows it.
 * Return 0 on success, a negative error value otherwise.
 */
int stm32mp1_dbgmcu_freeze_iwdg2(void);

#endif /* STM32MP1_DBGMCU_H */