RTEMS  5.1
Typedefs | Enumerations | Functions
alt_reset_manager.h File Reference
#include "hwlib.h"
#include <stdbool.h>

Go to the source code of this file.

Typedefs

typedef enum ALT_RESET_EVENT_e ALT_RESET_EVENT_t
 

Enumerations

enum  ALT_RESET_EVENT_e {
  ALT_RESET_EVENT_PORVOLTRST = 0x00000001, ALT_RESET_EVENT_NPORPINRST = 0x00000002, ALT_RESET_EVENT_FPGACOLDRST = 0x00000004, ALT_RESET_EVENT_CONFIGIOCOLDRST = 0x00000008,
  ALT_RESET_EVENT_SWCOLDRST = 0x00000010, ALT_RESET_EVENT_NRSTPINRST = 0x00000100, ALT_RESET_EVENT_FPGAWARMRST = 0x00000200, ALT_RESET_EVENT_SWWARMRST = 0x00000400,
  ALT_RESET_EVENT_MPUWD0RST = 0x00001000, ALT_RESET_EVENT_MPUWD1RST = 0x00002000, ALT_RESET_EVENT_L4WD0RST = 0x00004000, ALT_RESET_EVENT_L4WD1RST = 0x00008000,
  ALT_RESET_EVENT_FPGADBGRST = 0x00040000, ALT_RESET_EVENT_CDBGREQRST = 0x00080000, ALT_RESET_EVENT_SDRSELFREFTIMEOUT = 0x01000000, ALT_RESET_EVENT_FPGAMGRHSTIMEOUT = 0x02000000,
  ALT_RESET_EVENT_SCANHSTIMEOUT = 0x04000000, ALT_RESET_EVENT_FPGAHSTIMEOUT = 0x08000000, ALT_RESET_EVENT_ETRSTALLTIMEOUT = 0x10000000
}
 

Functions

uint32_t alt_reset_event_get (void)
 
ALT_STATUS_CODE alt_reset_event_clear (uint32_t event_mask)
 
ALT_STATUS_CODE alt_reset_cold_reset (void)
 
ALT_STATUS_CODE alt_reset_warm_reset (uint32_t warm_reset_delay, uint32_t nRST_pin_clk_assertion, bool sdram_refresh, bool fpga_mgr_handshake, bool scan_mgr_handshake, bool fpga_handshake, bool etr_stall)
 

Detailed Description

Altera - SoC Reset Manager