2024-03-24 20:52:55 +08:00
|
|
|
#ifndef __HARDWARE_RESET_REG_H__
|
|
|
|
|
#define __HARDWARE_RESET_REG_H__
|
|
|
|
|
|
2025-03-23 21:25:33 +08:00
|
|
|
#include "reg.h"
|
|
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
|
io_rw_32 reset;
|
|
|
|
|
io_rw_32 wdsel;
|
|
|
|
|
io_rw_32 reset_done;
|
|
|
|
|
} resets_hw_t;
|
|
|
|
|
|
|
|
|
|
#define resets_hw ((resets_hw_t *const)RESETS_BASE)
|
2024-03-24 20:52:55 +08:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* __HARDWARE_RESET_REG_H__ */
|