⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m_mios.h

📁 motorola自己开发的针对coldfire 5272的Dbug bootloader程序
💻 H
📖 第 1 页 / 共 3 页
字号:
    union {
        VUINT16 R;
        struct {
            VUINT16 STOP:1;
              VUINT16:1;
            VUINT16 FRZ:1;
            VUINT16 RST:1;
              VUINT16:4;
            VUINT16 SUPV:1;
              VUINT16:3;
            VUINT16 IARB:4;
        } B;
    } MIOS1MCR;

    VUINT32 res42f[3];
    VUINT16 res42y;

    union {                     /*PSM */
        VUINT16 R;
        struct {
            VUINT16 PREN:1;
            VUINT16 FREN:1;
              VUINT16:10;
            VUINT16 PSL:4;
        } B;
    } MCPSMSCR;

    VUINT16 res42g[500];

    union {                     /*IRSM0 */
        VUINT16 R;
        struct {
            VUINT16 FLG15:1;
            VUINT16 FLG14:1;
            VUINT16 FLG13:1;
            VUINT16 FLG12:1;
            VUINT16 FLG11:1;
              VUINT16:4;
            VUINT16 FLG6:1;
              VUINT16:2;
            VUINT16 FLG3:1;
            VUINT16 FLG2:1;
            VUINT16 FLG1:1;
            VUINT16 FLG0:1;
        } B;
    } MIOS1SR0;

    VUINT16 res42h;

    union {
        VUINT16 R;
        struct {
            VUINT16 EN15:1;
            VUINT16 EN14:1;
            VUINT16 EN13:1;
            VUINT16 EN12:1;
            VUINT16 EN11:1;
              VUINT16:4;
            VUINT16 EN6:1;
              VUINT16:2;
            VUINT16 EN3:1;
            VUINT16 EN2:1;
            VUINT16 EN1:1;
            VUINT16 EN0:1;
        } B;
    } MIOS1ER0;

    union {
        VUINT16 R;
        struct {
            VUINT16 IRP15:1;
            VUINT16 IRP14:1;
            VUINT16 IRP13:1;
            VUINT16 IRP12:1;
            VUINT16 IRP11:1;
              VUINT16:4;
            VUINT16 IRP6:1;
              VUINT16:2;
            VUINT16 IRP3:1;
            VUINT16 IRP2:1;
            VUINT16 IRP1:1;
            VUINT16 IRP0:1;
        } B;
    } MIOS1RPR0;

    VUINT32 res42i[10];

    union {
        VUINT16 R;
        struct {
            VUINT16:5;
            VUINT16 LVL:3;
            VUINT16 TM:2;
              VUINT16:6;
        } B;
    } MIOS1LVL0;

    VUINT16 res42j[7];

    union {                     /*IRSM1 */
        VUINT16 R;
        struct {
            VUINT16 FLG31:1;
            VUINT16 FLG30:1;
            VUINT16 FLG29:1;
            VUINT16 FLG28:1;
            VUINT16 FLG27:1;
              VUINT16:4;
            VUINT16 FLG22:1;
              VUINT16:2;
            VUINT16 FLG19:1;
            VUINT16 FLG18:1;
            VUINT16 FLG17:1;
            VUINT16 FLG16:1;
        } B;
    } MIOS1SR1;

    VUINT16 res42k;

    union {
        VUINT16 R;
        struct {
            VUINT16 EN31:1;
            VUINT16 EN30:1;
            VUINT16 EN29:1;
            VUINT16 EN28:1;
            VUINT16 EN27:1;
              VUINT16:4;
            VUINT16 EN22:1;
              VUINT16:2;
            VUINT16 EN19:1;
            VUINT16 EN18:1;
            VUINT16 EN17:1;
            VUINT16 EN16:1;
        } B;
    } MIOS1ER1;

    union {
        VUINT16 R;
        struct {
            VUINT16 IRP31:1;
            VUINT16 IRP30:1;
            VUINT16 IRP29:1;
            VUINT16 IRP28:1;
            VUINT16 IRP27:1;
              VUINT16:4;
            VUINT16 IRP22:1;
              VUINT16:2;
            VUINT16 IRP19:1;
            VUINT16 IRP18:1;
            VUINT16 IRP17:1;
            VUINT16 IRP16:1;
        } B;
    } MIOS1RPR1;

    VUINT32 res42l[10];

    union {
        VUINT16 R;
        struct {
            VUINT16:5;
            VUINT16 LVL:3;
            VUINT16 TM:2;
              VUINT16:6;
        } B;
    } MIOS1LVL1;
};
#else
#ifdef _MPC565_H_
        union {                 /*BIS */
            VUINT16 R;
            struct {
                VUINT16 TEST:1;
                  VUINT16:7;
                VUINT16 VMUX7:1;
                VUINT16 VMUX6:1;
                VUINT16 VMUX5:1;
                VUINT16 VMUX4:1;
                VUINT16 VMUX3:1;
                VUINT16 VMUX2:1;
                VUINT16 VMUX1:1;
                VUINT16 VMUX0:1;
            } B;
        } MIOS14TPCR;
#else
    union {                     /*BIS */
        VUINT16 R;
        struct {
            VUINT16 TEST:1;
           	VUINT16		:13;
            VUINT16 VF	:1;
            VUINT16 VFLS:1;
        } B;
    } MIOS14TPCR;
#endif

        union {
            VUINT16 R;
            struct {
                VUINT16:8;
                VUINT16 VECT7:1;
                VUINT16 VECT6:1;
                VUINT16 VECT5:1;
                VUINT16 VECT4:1;
            } B;
        } MIOS14VECT;

        union {
            VUINT16 R;
            struct {
                VUINT16 MN:8;
                VUINT16 VN:8;
            } B;
        } MIOS14VNR;

        union {
            VUINT16 R;
            struct {
                VUINT16 STOP:1;
                  VUINT16:1;
                VUINT16 FRZ:1;
                VUINT16 RST:1;
                  VUINT16:4;
                VUINT16 SUPV:1;
                  VUINT16:3;
                VUINT16 IARB:4;
            } B;
        } MIOS14MCR;

        VUINT32 res42f[3];
        VUINT16 res42x;

        union {                 /*PSM */
            VUINT16 R;
            struct {
                VUINT16 PREN:1;
                VUINT16 FREN:1;
                  VUINT16:10;
                VUINT16 PSL:4;
            } B;
        } MCPSMSCR;

        VUINT16 res42g[500];

        union {                 /*IRSM0 */
            VUINT16 R;
            struct {
                VUINT16 FLG15:1;
                VUINT16 FLG14:1;
                VUINT16 FLG13:1;
                VUINT16 FLG12:1;
                VUINT16 FLG11:1;
                VUINT16 FLG10:1;
                  VUINT16:1;
                VUINT16 FLG8:1;
                VUINT16 FLG7:1;
                VUINT16 FLG6:1;
                VUINT16 FLG5:1;
                VUINT16 FLG4:1;
                VUINT16 FLG3:1;
                VUINT16 FLG2:1;
                VUINT16 FLG1:1;
                VUINT16 FLG0:1;
            } B;
        } MIOS14SR0;

        VUINT16 res42h;

        union {
            VUINT16 R;
            struct {
                VUINT16 EN15:1;
                VUINT16 EN14:1;
                VUINT16 EN13:1;
                VUINT16 EN12:1;
                VUINT16 EN11:1;
                VUINT16 EN10:1;
                  VUINT16:1;
                VUINT16 EN8:1;
                VUINT16 EN7:1;
                VUINT16 EN6:1;
                VUINT16 EN5:1;
                VUINT16 EN4:1;
                VUINT16 EN3:1;
                VUINT16 EN2:1;
                VUINT16 EN1:1;
                VUINT16 EN0:1;
            } B;
        } MIOS14ER0;

#ifdef _MPC565_H_
        union {
            VUINT16 R;
            struct {
                VUINT16 IRP15:1;
                VUINT16 IRP14:1;
                VUINT16 IRP13:1;
                VUINT16 IRP12:1;
                VUINT16 IRP11:1;
                VUINT16 IRP10:1;
                  VUINT16:1;
                VUINT16 IRP9:1;
                VUINT16 IRP8:1;
                VUINT16 IRP6:1;
                VUINT16 IRP5:1;
                VUINT16 IRP4:1;
                VUINT16 IRP3:1;
                VUINT16 IRP2:1;
                VUINT16 IRP1:1;
                VUINT16 IRP0:1;
            } B;
        } MIOS14RPR0;
#else
   union {
        VUINT16 R;
        struct {
            VUINT16 IRP15:1;
            VUINT16 IRP14:1;
            VUINT16 IRP13:1;
            VUINT16 IRP12:1;
            VUINT16 IRP11:1;
						VUINT16 IRP10:1;
              VUINT16:1;

						VUINT16 IRP8:1;
						VUINT16 IRP7:1;
            VUINT16 IRP6:1;
						VUINT16 IRP5:1;
						VUINT16 IRP4:1;
            VUINT16 IRP3:1;
            VUINT16 IRP2:1;
            VUINT16 IRP1:1;
            VUINT16 IRP0:1;
        } B;
    } MIOS14RPR0;
#endif

        VUINT32 res42i[10];

        union {
            VUINT16 R;
            struct {
                VUINT16:5;
                VUINT16 LVL:3;
                VUINT16 TM:2;
                  VUINT16:6;
            } B;
        } MIOS14LVL0;

        VUINT16 res42j[7];

        union {                 /*IRSM1 */
            VUINT16 R;
            struct {
                VUINT16 FLG31:1;
                VUINT16 FLG30:1;
                VUINT16 FLG29:1;
                VUINT16 FLG28:1;
                VUINT16 FLG27:1;
                  VUINT16:2;
                VUINT16 FLG24:1;
                VUINT16 FLG23:1;
                VUINT16 FLG22:1;
                VUINT16 FLG21:1;
                VUINT16 FLG20:1;
                VUINT16 FLG19:1;
                VUINT16 FLG18:1;
                VUINT16 FLG17:1;
                VUINT16 FLG16:1;
            } B;
        } MIOS14SR1;

        VUINT16 res42k;

        union {
            VUINT16 R;
            struct {
                VUINT16 EN31:1;
                VUINT16 EN30:1;
                VUINT16 EN29:1;
                VUINT16 EN28:1;
                VUINT16 EN27:1;
                  VUINT16:2;
                VUINT16 EN24:1;
                VUINT16 EN23:1;
                VUINT16 EN22:1;
                VUINT16 EN21:1;
                VUINT16 EN20:1;
                VUINT16 EN19:1;
                VUINT16 EN18:1;
                VUINT16 EN17:1;
                VUINT16 EN16:1;
            } B;
        } MIOS14ER1;

        union {
            VUINT16 R;
            struct {
                VUINT16 IRP31:1;
                VUINT16 IRP30:1;
                VUINT16 IRP29:1;
                VUINT16 IRP28:1;
                VUINT16 IRP27:1;
                  VUINT16:2;
                VUINT16 IRP24:1;
                VUINT16 IRP23:1;
                VUINT16 IRP22:1;
                VUINT16 IRP21:1;
                VUINT16 IRP20:1;
                VUINT16 IRP19:1;
                VUINT16 IRP18:1;
                VUINT16 IRP17:1;
                VUINT16 IRP16:1;
            } B;
        } MIOS14RPR1;

        VUINT32 res42l[10];

        union {
            VUINT16 R;
            struct {
                VUINT16:5;
                VUINT16 LVL:3;
                VUINT16 TM:2;
                  VUINT16:6;
            } B;
        } MIOS14LVL1;
    };
#endif

#ifdef __MWERKS__
#pragma pack(pop)
#endif

#ifdef  __cplusplus
}
#endif

#endif
/* ifndef _M_MIOS14_H  */
/*****************************************************************************/
/* Motorola reserves the right to make changes without further notice to any */
/* product herein to improve reliability, function, or design. Motorola does */
/* not assume any  liability arising  out  of the  application or use of any */
/* product,  circuit, or software described herein;  neither  does it convey */
/* any license under its patent rights  nor the  rights of others.  Motorola */
/* products are not designed, intended,  or authorized for use as components */
/* in  systems  intended  for  surgical  implant  into  the  body, or  other */
/* applications intended to support life, or  for any  other application  in */
/* which the failure of the Motorola product  could create a situation where */
/* personal injury or death may occur. Should Buyer purchase or use Motorola */
/* products for any such intended  or unauthorized  application, Buyer shall */
/* indemnify and  hold  Motorola  and its officers, employees, subsidiaries, */
/* affiliates,  and distributors harmless against all claims costs, damages, */
/* and expenses, and reasonable  attorney  fees arising  out of, directly or */
/* indirectly,  any claim of personal injury  or death  associated with such */
/* unintended or unauthorized use, even if such claim alleges that  Motorola */
/* was negligent regarding the  design  or manufacture of the part. Motorola */
/* and the Motorola logo* are registered trademarks of Motorola Ltd.         */
/*****************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -