12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- //###########################################################################
- //
- // FILE: DSP2803x_NmiIntrupt.h
- //
- // TITLE: DSP2803x Device NMI Interrupt Register Definitions
- //
- //###########################################################################
- // $TI Release: F2803x C/C++ Header Files and Peripheral Examples V130 $
- // $Release Date: May 8, 2015 $
- // $Copyright: Copyright (C) 2009-2015 Texas Instruments Incorporated -
- // http://www.ti.com/ ALL RIGHTS RESERVED $
- //###########################################################################
- #ifndef DSP2803x_NMIINTRUPT_H
- #define DSP2803x_NMIINTRUPT_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- //===========================================================================
- // NMI Interrupt Register Bit Definitions
- //
- struct NMICFG_BITS { // bits description
- Uint16 rsvd1:1; // 0 reserved
- Uint16 CLOCKFAIL:1; // 1 Fail Interrupt Enable Bits
- Uint16 rsvd2:14; // 15:02 reserved
- };
- union NMICFG_REG {
- Uint16 all;
- struct NMICFG_BITS bit;
- };
- struct NMIFLG_BITS { // bits description
- Uint16 NMIINT:1; // 0 NMI Interrupt Flag
- Uint16 CLOCKFAIL:1; // 1 Clock Fail Interrupt Flags
- Uint16 rsvd1:14; // 15:02 reserved
- };
- union NMIFLG_REG {
- Uint16 all;
- struct NMIFLG_BITS bit;
- };
- struct NMIFLGCLR_BITS { // bits description
- Uint16 NMIINT:1; // 0 NMIINT Flag Clear Bit
- Uint16 CLOCKFAIL:1; // 1 CLOCKFAIL Flag Clear Bit
- Uint16 rsvd1:14; // 15:02 reserved
- };
- union NMIFLGCLR_REG {
- Uint16 all;
- struct NMIFLGCLR_BITS bit;
- };
- struct NMIFLGFRC_BITS { // bits description
- Uint16 rsvd1:1; // 0 reserved
- Uint16 CLOCKFAIL:1; // 1 CLOCKFAIL Flag Force Bit
- Uint16 rsvd2:14; // 15:02 reserved
- };
- union NMIFLGFRC_REG {
- Uint16 all;
- struct NMIFLGFRC_BITS bit;
- };
- //===========================================================================
- // NMI Interrupt Register Definitions
- //
- struct NMIINTRUPT_REGS {
- union NMICFG_REG NMICFG;
- union NMIFLG_REG NMIFLG;
- union NMIFLGCLR_REG NMIFLGCLR;
- union NMIFLGFRC_REG NMIFLGFRC;
- Uint16 NMIWDCNT;
- Uint16 NMIWDPRD;
- Uint16 rsvd1[10];
- };
- //===========================================================================
- // NMI Interrupt External References and Function Declarations
- //
- extern volatile struct NMIINTRUPT_REGS NmiIntruptRegs;
- #ifdef __cplusplus
- }
- #endif /* extern "C" */
- #endif // end of DSP2803x_NMIINTRUPT_H definition
- //===========================================================================
- // End of file
- //===========================================================================
|