Hardware Libraries  20.1
Stratix 10 SoC Hardware Manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
alt_reset_manager.h File Reference
#include "hwlib.h"
#include <stdbool.h>

Go to the source code of this file.

Detailed Description

Altera - S10 SoC Reset Manager

Typedefs

typedef enum ALT_RESET_EVENT_e ALT_RESET_EVENT_t
 

Enumerations

enum  ALT_RESET_EVENT_e {
  ALT_RESET_EVENT_CSDAPRST = 0x1, ALT_RESET_EVENT_DEBUGRST = 0x2, ALT_RESET_EVENT_L4W3DRST = 0x4, ALT_RESET_EVENT_L4WD2RST = 0x8,
  ALT_RESET_EVENT_L4WD1RST = 0x10, ALT_RESET_EVENT_L4WD0RST = 0x20, ALT_RESET_EVENT_MPU3RST = 0x40, ALT_RESET_EVENT_MPU2RST = 0x80,
  ALT_RESET_EVENT_MPU1RST = 0x100, ALT_RESET_EVENT_MPU0RST = 0x200, ALT_RESET_EVENT_SDMLASTPORRST = 0x400, ALT_RESET_EVENT_SDMWARMRST = 0x800,
  ALT_RESET_EVENT_SDMCOLDRST = 0x1000, ALT_RESET_EVENT_CORE3IRQ = 0x2000, ALT_RESET_EVENT_CORE2IRQ = 0x4000, ALT_RESET_EVENT_CORE1IRQ = 0x8000,
  ALT_RESET_EVENT_CORE0IRQ = 0x10000, ALT_RESET_EVENT_CPUPOR3IRQ = 0x20000, ALT_RESET_EVENT_CPUPOR2IRQ = 0x40000, ALT_RESET_EVENT_CPUPOR1IRQ = 0x80000,
  ALT_RESET_EVENT_CPUPOR0IRQ = 0x100000
}
 

Functions

uint32_t alt_reset_event_get (void)
 
ALT_STATUS_CODE alt_reset_event_clear (uint32_t event_mask)
 
ALT_STATUS_CODE alt_cpu_core_reset (uint32_t mask)
 
ALT_STATUS_CODE alt_cpu_por_reset (uint32_t mask)