![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
Redefinition of CAN registers. More...
#include <can.h>

Data Fields | |
| union { | |
| __IO uint16_t CTRLR | |
| stc_can_ctrlr_t CTRLR_f | |
| }; | |
| union { | |
| __IO uint16_t STATR | |
| stc_can_statr_t STATR_f | |
| }; | |
| union { | |
| __IO uint16_t ERRCNT | |
| stc_can_errcnt_t ERRCNT_f | |
| }; | |
| union { | |
| __IO uint16_t BTR | |
| stc_can_btr_t BTR_f | |
| }; | |
| union { | |
| __IO uint16_t INTR | |
| stc_can_intr_t INTR_f | |
| }; | |
| union { | |
| __IO uint16_t TESTR | |
| stc_can_testr_t TESTR_f | |
| }; | |
| union { | |
| __IO uint16_t BRPER | |
| stc_can_brper_t BRPER_f | |
| }; | |
| uint8_t | RESERVED0 [2] |
| union { | |
| __IO uint16_t IF1CREQ | |
| stc_can_ifncreq_t IF1CREQ_f | |
| }; | |
| union { | |
| __IO uint16_t IF1CMSK | |
| stc_can_ifncmsk_t IF1CMSK_f | |
| }; | |
| union { | |
| union { | |
| __IO uint32_t IF1MSK | |
| stc_can_ifnmsk_t IF1MSK_f | |
| } | |
| struct { | |
| __IO uint16_t IF1MSK1 | |
| union { | |
| __IO uint16_t IF1MSK2 | |
| stc_can_ifnmsk2_t IF1MSK2_f | |
| } | |
| } | |
| }; | |
| union { | |
| union { | |
| __IO uint32_t IF1ARB | |
| stc_can_ifnarb_t u32IF1ARB | |
| } | |
| struct { | |
| __IO uint16_t IF1ARB1 | |
| union { | |
| __IO uint16_t IF1ARB2 | |
| stc_can_ifnarb2_t IF1ARB2_f | |
| } | |
| } | |
| }; | |
| union { | |
| __IO uint16_t IF1MCTR | |
| stc_can_ifnmctr_t IF1MCTR_f | |
| }; | |
| uint8_t | RESERVED1 [2] |
| union { | |
| __IO uint32_t IF1DTA_L | |
| struct { | |
| __IO uint16_t IF1DTA1_L | |
| __IO uint16_t IF1DTA2_L | |
| } | |
| }; | |
| union { | |
| __IO uint32_t IF1DTB_L | |
| struct { | |
| __IO uint16_t IF1DTB1_L | |
| __IO uint16_t IF1DTB2_L | |
| } | |
| }; | |
| uint8_t | RESERVED2 [8] |
| union { | |
| __IO uint32_t IF1DTA_B | |
| struct { | |
| __IO uint16_t IF1DTA2_B | |
| __IO uint16_t IF1DTA1_B | |
| } | |
| }; | |
| union { | |
| __IO uint32_t IF1DTB_B | |
| struct { | |
| __IO uint16_t IF1DTB2_B | |
| __IO uint16_t IF1DTB1_B | |
| } | |
| }; | |
| uint8_t | RESERVED3 [8] |
| union { | |
| __IO uint16_t IF2CREQ | |
| stc_can_ifncreq_t IF2CREQ_f | |
| }; | |
| union { | |
| __IO uint16_t IF2CMSK | |
| stc_can_ifncmsk_t IF2CMSK_f | |
| }; | |
| union { | |
| union { | |
| __IO uint32_t IF2MSK | |
| stc_can_ifnmsk_t IF2MSK_f | |
| } | |
| struct { | |
| __IO uint16_t IF2MSK1 | |
| union { | |
| __IO uint16_t IF2MSK2 | |
| stc_can_ifnmsk2_t IF2MSK2_f | |
| } | |
| } | |
| }; | |
| union { | |
| union { | |
| __IO uint32_t IF2ARB | |
| stc_can_ifnarb_t u32IF2ARB | |
| } | |
| struct { | |
| __IO uint16_t IF2ARB1 | |
| union { | |
| __IO uint16_t IF2ARB2 | |
| stc_can_ifnarb2_t IF2ARB2_f | |
| } | |
| } | |
| }; | |
| union { | |
| __IO uint16_t IF2MCTR | |
| stc_can_ifnmctr_t IF2MCTR_f | |
| }; | |
| uint8_t | RESERVED4 [2] |
| union { | |
| __IO uint32_t IF2DTA_L | |
| struct { | |
| __IO uint16_t IF2DTA1_L | |
| __IO uint16_t IF2DTA2_L | |
| } | |
| }; | |
| union { | |
| __IO uint32_t IF2DTB_L | |
| struct { | |
| __IO uint16_t IF2DTB1_L | |
| __IO uint16_t IF2DTB2_L | |
| } | |
| }; | |
| uint8_t | RESERVED5 [8] |
| union { | |
| __IO uint32_t IF2DTA_B | |
| struct { | |
| __IO uint16_t IF2DTA2_B | |
| __IO uint16_t IF2DTA1_B | |
| } | |
| }; | |
| union { | |
| __IO uint32_t IF2DTB_B | |
| struct { | |
| __IO uint16_t IF2DTB2_B | |
| __IO uint16_t IF2DTB1_B | |
| } | |
| }; | |
| uint8_t | RESERVED6 [24] |
| union { | |
| union { | |
| __IO uint32_t TREQR | |
| stc_can_treqr_t TREQR_f | |
| } | |
| struct { | |
| union { | |
| __IO uint16_t TREQR1 | |
| stc_can_treqr1_t TREQR1_f | |
| } | |
| union { | |
| __IO uint16_t TREQR2 | |
| stc_can_treqr2_t TREQR2_f | |
| } | |
| } | |
| }; | |
| uint8_t | RESERVED7 [12] |
| union { | |
| union { | |
| __IO uint32_t NEWDT | |
| stc_can_newdt_t NEWDT_f | |
| } | |
| struct { | |
| union { | |
| __IO uint16_t NEWDT1 | |
| stc_can_newdt1_t NEWDT1_f | |
| } | |
| __IO uint16_t NEWDT2 | |
| } | |
| }; | |
| uint8_t | RESERVED8 [12] |
| union { | |
| union { | |
| __IO uint32_t INTPND | |
| stc_can_intpnd_t INTPND_f | |
| } | |
| struct { | |
| union { | |
| __IO uint16_t INTPND1 | |
| stc_can_intpnd1_t INTPND1_f | |
| } | |
| union { | |
| __IO uint16_t INTPND2 | |
| stc_can_intpnd2_t INTPND2_f | |
| } | |
| } | |
| }; | |
| uint8_t | RESERVED9 [12] |
| union { | |
| union { | |
| __IO uint32_t MSGVAL | |
| stc_can_msgval_t MSGVAL_f | |
| } | |
| struct { | |
| union { | |
| __IO uint16_t MSGVAL1 | |
| stc_can_msgval1_t MSGVAL1_f | |
| } | |
| union { | |
| __IO uint16_t MSGVAL2 | |
| stc_can_msgval2_t MSGVAL2_f | |
| } | |
| } | |
| }; | |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| union { ... } |
| __IO uint16_t BRPER |
Definition at line 715 of file can.h.
Referenced by Can_DeInit(), and Can_Init().
| stc_can_brper_t BRPER_f |
| stc_can_btr_t BTR_f |
Definition at line 704 of file can.h.
Referenced by Can_DeInit(), and Can_Init().
| __IO uint16_t CTRLR |
Definition at line 691 of file can.h.
Referenced by Can_DeInit().
| stc_can_ctrlr_t CTRLR_f |
Definition at line 692 of file can.h.
Referenced by Can_DeInit(), and Can_Init().
| stc_can_errcnt_t ERRCNT_f |
| __IO uint32_t IF1ARB |
Definition at line 742 of file can.h.
Referenced by Can_DeInit(), and Can_Init().
| stc_can_ifnarb2_t IF1ARB2_f |
| __IO uint16_t IF1CMSK |
Definition at line 724 of file can.h.
Referenced by Can_DeInit().
| stc_can_ifncmsk_t IF1CMSK_f |
Definition at line 725 of file can.h.
Referenced by Can_Init(), Can_SetReceiveMsgBuffer(), Can_SetTransmitMsgBuffer(), and Can_UpdateAndTransmitMsgBuffer().
| __IO uint16_t IF1CREQ |
Definition at line 720 of file can.h.
Referenced by Can_Init(), Can_SetReceiveMsgBuffer(), Can_SetTransmitMsgBuffer(), and Can_UpdateAndTransmitMsgBuffer().
| stc_can_ifncreq_t IF1CREQ_f |
| __IO uint16_t IF1DTA1_L |
Definition at line 761 of file can.h.
Referenced by Can_DeInit(), and Can_UpdateAndTransmitMsgBuffer().
| __IO uint16_t IF1DTA2_L |
Definition at line 762 of file can.h.
Referenced by Can_DeInit(), and Can_UpdateAndTransmitMsgBuffer().
| __IO uint16_t IF1DTB1_L |
Definition at line 768 of file can.h.
Referenced by Can_DeInit(), and Can_UpdateAndTransmitMsgBuffer().
| __IO uint16_t IF1DTB2_L |
Definition at line 769 of file can.h.
Referenced by Can_DeInit(), and Can_UpdateAndTransmitMsgBuffer().
| __IO uint16_t IF1MCTR |
Definition at line 754 of file can.h.
Referenced by Can_DeInit(), Can_Init(), Can_ResetMsgBuffer(), and Can_SetReceiveMsgBuffer().
| stc_can_ifnmctr_t IF1MCTR_f |
Definition at line 755 of file can.h.
Referenced by Can_SetReceiveMsgBuffer(), Can_UpdateAndTransmitMsgBuffer(), and CanIsMbUpdatePossible().
| __IO uint32_t IF1MSK |
Definition at line 729 of file can.h.
Referenced by Can_DeInit(), and Can_SetReceiveMsgBuffer().
| stc_can_ifnmsk2_t IF1MSK2_f |
| stc_can_ifnmsk_t IF1MSK_f |
Definition at line 730 of file can.h.
Referenced by Can_SetReceiveMsgBuffer().
| __IO uint32_t IF2ARB |
Definition at line 811 of file can.h.
Referenced by Can_DeInit().
| stc_can_ifnarb2_t IF2ARB2_f |
Definition at line 818 of file can.h.
Referenced by CanIrqHandler().
| __IO uint16_t IF2CMSK |
Definition at line 793 of file can.h.
Referenced by Can_DeInit().
| stc_can_ifncmsk_t IF2CMSK_f |
Definition at line 794 of file can.h.
Referenced by CanIrqHandler().
| __IO uint16_t IF2CREQ |
Definition at line 789 of file can.h.
Referenced by CanIrqHandler().
| stc_can_ifncreq_t IF2CREQ_f |
| __IO uint16_t IF2DTA1_L |
Definition at line 830 of file can.h.
Referenced by Can_DeInit(), and CanIrqHandler().
| __IO uint16_t IF2DTA2_L |
Definition at line 831 of file can.h.
Referenced by Can_DeInit(), and CanIrqHandler().
| __IO uint16_t IF2DTB1_L |
Definition at line 837 of file can.h.
Referenced by Can_DeInit(), and CanIrqHandler().
| __IO uint16_t IF2DTB2_L |
Definition at line 838 of file can.h.
Referenced by Can_DeInit(), and CanIrqHandler().
| __IO uint16_t IF2MCTR |
Definition at line 823 of file can.h.
Referenced by Can_DeInit().
| stc_can_ifnmctr_t IF2MCTR_f |
Definition at line 824 of file can.h.
Referenced by CanIrqHandler().
| __IO uint32_t IF2MSK |
Definition at line 798 of file can.h.
Referenced by Can_DeInit().
| stc_can_ifnmsk2_t IF2MSK2_f |
| stc_can_ifnmsk_t IF2MSK_f |
| stc_can_intpnd1_t INTPND1_f |
| stc_can_intpnd2_t INTPND2_f |
| stc_can_intpnd_t INTPND_f |
| __IO uint16_t INTR |
Definition at line 707 of file can.h.
Referenced by CanIrqHandler().
| stc_can_intr_t INTR_f |
| stc_can_msgval1_t MSGVAL1_f |
| stc_can_msgval2_t MSGVAL2_f |
| stc_can_msgval_t MSGVAL_f |
| stc_can_newdt1_t NEWDT1_f |
| stc_can_newdt_t NEWDT_f |
| __IO uint16_t STATR |
Definition at line 695 of file can.h.
Referenced by Can_DeInit(), and Can_Init().
| stc_can_statr_t STATR_f |
Definition at line 696 of file can.h.
Referenced by CanIrqHandler().
| __IO uint16_t TESTR |
Definition at line 711 of file can.h.
Referenced by Can_DeInit().
| stc_can_testr_t TESTR_f |
| __IO uint16_t TREQR1 |
Definition at line 864 of file can.h.
Referenced by CanIsMbUpdatePossible().
| stc_can_treqr1_t TREQR1_f |
| __IO uint16_t TREQR2 |
Definition at line 868 of file can.h.
Referenced by CanIsMbUpdatePossible().
| stc_can_treqr2_t TREQR2_f |
| stc_can_treqr_t TREQR_f |
| stc_can_ifnarb_t u32IF1ARB |
Definition at line 743 of file can.h.
Referenced by Can_ResetMsgBuffer(), Can_SetReceiveMsgBuffer(), Can_SetTransmitMsgBuffer(), and Can_UpdateAndTransmitMsgBuffer().
| stc_can_ifnarb_t u32IF2ARB |
Definition at line 812 of file can.h.
Referenced by CanIrqHandler().