| Digital Power Starter Kit 3 Firmware dsPIC33C Boost Converter Voltage Mode Control Example |

Data Types
Device Driver Library Layer » Fault Handler Library » Public Properties
Collaboration diagram for Data Types:

enum | TRAP_ID_e { TRAP_OSCILLATOR_FAIL = 0x0001, TRAP_ADDRESS_ERROR = 0x0002, TRAP_STACK_ERROR = 0x0004, TRAP_MATH_ERROR = 0x0008, TRAP_DMA_ERROR = 0x0010, TRAP_SOFT_TRAP_ERROR = 0x0020, TRAP_HARD_TRAP_ERROR = 0x0040, TRAP_RESERVED_TRAP_5_ERROR = 0x0080, TRAP_RESERVED_TRAP_7_ERROR = 0x0080, TRAP_ALT_OSCILLATOR_FAIL = 0x0100, TRAP_ALT_ADDRESS_ERROR = 0x0200, TRAP_ALT_STACK_ERROR = 0x0400, TRAP_ALT_MATH_ERROR = 0x0800, TRAP_ALT_DMA_ERROR = 0x1000, TRAP_ALT_SOFT_TRAP_ERROR = 0x2000, TRAP_ALT_HARD_TRAP_ERROR = 0x4000, TRAP_RESET_MSK = 0x7F1F }
typedef enum TRAP_ID_e | TRAP_ID_t
typedef struct TRAP_FLAGS_s | TRAP_FLAGS_t
typedef struct CPU_INTTREG_s | CPU_INTTREG_t
typedef struct CPU_RCON_s | CPU_RCON_t
typedef struct TRAPLOG_STATUS_s | TRAPLOG_STATUS_t
typedef struct TASK_INFO_s | TASK_INFO_t
typedef struct TRAP_LOGGER_s | TRAP_LOGGER_t

## Detailed Description

This chapter provides detailed information about the public data types provided by the fault handler library.

## Typedef Documentation

## ◆ CPU_INTTREG_t

typedef struct CPU_INTTREG_s CPU_INTTREG_t

## ◆ CPU_RCON_t

typedef struct CPU_RCON_s CPU_RCON_t

## ◆ TASK_INFO_t

typedef struct TASK_INFO_s TASK_INFO_t

## ◆ TRAP_FLAGS_t

typedef struct TRAP_FLAGS_s TRAP_FLAGS_t

## ◆ TRAP_ID_t

typedef enum TRAP_ID_e TRAP_ID_t

## ◆ TRAP_LOGGER_t

typedef struct TRAP_LOGGER_s TRAP_LOGGER_t

## ◆ TRAPLOG_STATUS_t

typedef struct TRAPLOG_STATUS_s TRAPLOG_STATUS_t

## Enumeration Type Documentation

## ◆ TRAP_ID_e

enum TRAP_ID_e

Enumerator
TRAP_OSCILLATOR_FAIL | Trap ID for primary exception vector.
TRAP_ADDRESS_ERROR | Trap ID for primary exception vector.
TRAP_STACK_ERROR | Trap ID for primary exception vector.
TRAP_MATH_ERROR | Trap ID for primary exception vector.
TRAP_DMA_ERROR | Trap ID for primary exception vector.
TRAP_SOFT_TRAP_ERROR | Trap ID for generic soft trap exception vector.
TRAP_HARD_TRAP_ERROR | Trap ID for generic hard trap exception vector.
TRAP_RESERVED_TRAP_5_ERROR | Trap ID for generic exception vector.
TRAP_RESERVED_TRAP_7_ERROR | Trap ID for generic exception vector.
TRAP_ALT_OSCILLATOR_FAIL | Trap ID for alternate exception vector.
TRAP_ALT_ADDRESS_ERROR | Trap ID for alternate exception vector.
TRAP_ALT_STACK_ERROR | Trap ID for alternate exception vector.
TRAP_ALT_MATH_ERROR | Trap ID for alternate exception vector.
TRAP_ALT_DMA_ERROR | Trap ID for alternate exception vector.
TRAP_ALT_SOFT_TRAP_ERROR | Trap ID for alternate generic soft trap exception vector.
TRAP_ALT_HARD_TRAP_ERROR | Trap ID for alternate generic hard trap exception vector.
TRAP_RESET_MSK | Bit Mask to filter used bits only.

Definition at line 99 of file drv_trap_handler.h.