Commit 741016af authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.
Browse files

1. Added RX Buffer not empty interrupt

2. Added TXT Buffer HW command interrupt
3. Removed wake_up valid, since it was unused.
parent 04a81323
...@@ -4903,11 +4903,11 @@ Reserved\end_layout ...@@ -4903,11 +4903,11 @@ Reserved\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="1" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
Reserved\end_layout TXBHCI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -4915,7 +4915,7 @@ Reserved\end_layout ...@@ -4915,7 +4915,7 @@ Reserved\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
BSI\end_layout RBNEI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -4923,7 +4923,7 @@ BSI\end_layout ...@@ -4923,7 +4923,7 @@ BSI\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
RFI\end_layout BSI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -4931,7 +4931,7 @@ RFI\end_layout ...@@ -4931,7 +4931,7 @@ RFI\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
LFI\end_layout RFI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -4981,7 +4981,7 @@ Reset value\end_layout ...@@ -4981,7 +4981,7 @@ Reset value\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
-\end_layout 0\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5118,7 +5118,7 @@ Field name\end_layout ...@@ -5118,7 +5118,7 @@ Field name\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
BEI\end_layout LFI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5126,7 +5126,7 @@ BEI\end_layout ...@@ -5126,7 +5126,7 @@ BEI\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
ALI\end_layout BEI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5134,7 +5134,7 @@ ALI\end_layout ...@@ -5134,7 +5134,7 @@ ALI\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
EPI\end_layout ALI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5142,7 +5142,7 @@ EPI\end_layout ...@@ -5142,7 +5142,7 @@ EPI\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
Reserved\end_layout EPI\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5216,7 +5216,7 @@ Reset value\end_layout ...@@ -5216,7 +5216,7 @@ Reset value\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
-\end_layout 0\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5289,6 +5289,12 @@ RFI Receive buffer full interrupt ...@@ -5289,6 +5289,12 @@ RFI Receive buffer full interrupt
\begin_layout Description \begin_layout Description
BSI Bit-rate shifted interrupt BSI Bit-rate shifted interrupt
\end_layout \end_layout
\begin_layout Description
RBNEI Receive buffer not empty Interrupt. Clearing this interrupt and not reading out content of RX Buffer via RX_DATA will re-activate the interrupt.
\end_layout
\begin_layout Description
TXBHCI TX Buffer HW command interrupt. Anytime TX Buffer receives HW command from CAN Core, this interrupt will be acivated.
\end_layout
\begin_layout Standard \begin_layout Standard
\begin_inset VSpace bigskip \begin_inset VSpace bigskip
\end_inset \end_inset
...@@ -5445,19 +5451,19 @@ Reserved\end_layout ...@@ -5445,19 +5451,19 @@ Reserved\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
Reserved\end_layout INT_ENA_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_ENA_SET[10:8]\end_layout INT_ENA_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5465,7 +5471,7 @@ INT_ENA_SET[10:8]\end_layout ...@@ -5465,7 +5471,7 @@ INT_ENA_SET[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_ENA_SET[10:8]\end_layout INT_ENA_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5473,7 +5479,7 @@ INT_ENA_SET[10:8]\end_layout ...@@ -5473,7 +5479,7 @@ INT_ENA_SET[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_ENA_SET[10:8]\end_layout INT_ENA_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5523,7 +5529,7 @@ Reset value\end_layout ...@@ -5523,7 +5529,7 @@ Reset value\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
-\end_layout 0\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5960,19 +5966,19 @@ Reserved\end_layout ...@@ -5960,19 +5966,19 @@ Reserved\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
Reserved\end_layout INT_ENA_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_ENA_CLR[10:8]\end_layout INT_ENA_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5980,7 +5986,7 @@ INT_ENA_CLR[10:8]\end_layout ...@@ -5980,7 +5986,7 @@ INT_ENA_CLR[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_ENA_CLR[10:8]\end_layout INT_ENA_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -5988,7 +5994,7 @@ INT_ENA_CLR[10:8]\end_layout ...@@ -5988,7 +5994,7 @@ INT_ENA_CLR[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_ENA_CLR[10:8]\end_layout INT_ENA_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -6038,7 +6044,7 @@ Reset value\end_layout ...@@ -6038,7 +6044,7 @@ Reset value\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
-\end_layout 0\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -6475,19 +6481,19 @@ Reserved\end_layout ...@@ -6475,19 +6481,19 @@ Reserved\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
Reserved\end_layout INT_MASK_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_MASK_SET[10:8]\end_layout INT_MASK_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -6495,7 +6501,7 @@ INT_MASK_SET[10:8]\end_layout ...@@ -6495,7 +6501,7 @@ INT_MASK_SET[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_MASK_SET[10:8]\end_layout INT_MASK_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -6503,7 +6509,7 @@ INT_MASK_SET[10:8]\end_layout ...@@ -6503,7 +6509,7 @@ INT_MASK_SET[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_MASK_SET[10:8]\end_layout INT_MASK_SET[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -6553,7 +6559,7 @@ Reset value\end_layout ...@@ -6553,7 +6559,7 @@ Reset value\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
-\end_layout 0\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -6990,19 +6996,19 @@ Reserved\end_layout ...@@ -6990,19 +6996,19 @@ Reserved\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
Reserved\end_layout INT_MASK_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
<cell alignment="center" leftline="true" multicolumn="1" rightline="true" topline="true" usebox="none" valignment="top"> <cell alignment="center" leftline="true" multicolumn="2" topline="true" usebox="none" valignment="top">
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_MASK_CLR[10:8]\end_layout INT_MASK_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -7010,7 +7016,7 @@ INT_MASK_CLR[10:8]\end_layout ...@@ -7010,7 +7016,7 @@ INT_MASK_CLR[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_MASK_CLR[10:8]\end_layout INT_MASK_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -7018,7 +7024,7 @@ INT_MASK_CLR[10:8]\end_layout ...@@ -7018,7 +7024,7 @@ INT_MASK_CLR[10:8]\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
INT_MASK_CLR[10:8]\end_layout INT_MASK_CLR[11:8]\end_layout
   
\end_inset \end_inset
</cell> </cell>
...@@ -7068,7 +7074,7 @@ Reset value\end_layout ...@@ -7068,7 +7074,7 @@ Reset value\end_layout
\begin_inset Text \begin_inset Text
   
\begin_layout Plain Layout \begin_layout Plain Layout
-\end_layout 0\end_layout
   
\end_inset \end_inset
</cell> </cell>
......
...@@ -203,23 +203,25 @@ union int_stat { ...@@ -203,23 +203,25 @@ union int_stat {
uint32_t ti : 1; uint32_t ti : 1;
uint32_t ei : 1; uint32_t ei : 1;
uint32_t doi : 1; uint32_t doi : 1;
uint32_t reserved_4 : 1;
uint32_t epi : 1; uint32_t epi : 1;
uint32_t ali : 1; uint32_t ali : 1;
uint32_t bei : 1; uint32_t bei : 1;
uint32_t lfi : 1; uint32_t lfi : 1;
uint32_t rfi : 1; uint32_t rfi : 1;
uint32_t bsi : 1; uint32_t bsi : 1;
uint32_t reserved_31_11 : 21; uint32_t rbnei : 1;
uint32_t txbhci : 1;
uint32_t reserved_31_12 : 20;
#else #else
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
uint32_t txbhci : 1;
uint32_t rbnei : 1;
uint32_t bsi : 1; uint32_t bsi : 1;
uint32_t rfi : 1; uint32_t rfi : 1;
uint32_t lfi : 1; uint32_t lfi : 1;
uint32_t bei : 1; uint32_t bei : 1;
uint32_t ali : 1; uint32_t ali : 1;
uint32_t epi : 1; uint32_t epi : 1;
uint32_t reserved_4 : 1;
uint32_t doi : 1; uint32_t doi : 1;
uint32_t ei : 1; uint32_t ei : 1;
uint32_t ti : 1; uint32_t ti : 1;
...@@ -233,11 +235,11 @@ union int_ena_set { ...@@ -233,11 +235,11 @@ union int_ena_set {
struct int_ena_set_s { struct int_ena_set_s {
#ifdef __BIG_ENDIAN_BITFIELD #ifdef __BIG_ENDIAN_BITFIELD
/* INT_ENA_SET */ /* INT_ENA_SET */
uint32_t int_ena_set : 11; uint32_t int_ena_set : 12;
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
#else #else
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
uint32_t int_ena_set : 11; uint32_t int_ena_set : 12;
#endif #endif
} s; } s;
}; };
...@@ -247,11 +249,11 @@ union int_ena_clr { ...@@ -247,11 +249,11 @@ union int_ena_clr {
struct int_ena_clr_s { struct int_ena_clr_s {
#ifdef __BIG_ENDIAN_BITFIELD #ifdef __BIG_ENDIAN_BITFIELD
/* INT_ENA_CLR */ /* INT_ENA_CLR */
uint32_t int_ena_clr : 11; uint32_t int_ena_clr : 12;
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
#else #else
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
uint32_t int_ena_clr : 11; uint32_t int_ena_clr : 12;
#endif #endif
} s; } s;
}; };
...@@ -261,11 +263,11 @@ union int_mask_set { ...@@ -261,11 +263,11 @@ union int_mask_set {
struct int_mask_set_s { struct int_mask_set_s {
#ifdef __BIG_ENDIAN_BITFIELD #ifdef __BIG_ENDIAN_BITFIELD
/* INT_MASK_SET */ /* INT_MASK_SET */
uint32_t int_mask_set : 11; uint32_t int_mask_set : 12;
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
#else #else
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
uint32_t int_mask_set : 11; uint32_t int_mask_set : 12;
#endif #endif
} s; } s;
}; };
...@@ -275,11 +277,11 @@ union int_mask_clr { ...@@ -275,11 +277,11 @@ union int_mask_clr {
struct int_mask_clr_s { struct int_mask_clr_s {
#ifdef __BIG_ENDIAN_BITFIELD #ifdef __BIG_ENDIAN_BITFIELD
/* INT_MASK_CLR */ /* INT_MASK_CLR */
uint32_t int_mask_clr : 11; uint32_t int_mask_clr : 12;
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
#else #else
uint32_t reserved_31_11 : 21; uint32_t reserved_31_12 : 20;
uint32_t int_mask_clr : 11; uint32_t int_mask_clr : 12;
#endif #endif
} s; } s;
}; };
......
...@@ -584,7 +584,7 @@ ...@@ -584,7 +584,7 @@
<ipxact:name>EPI</ipxact:name> <ipxact:name>EPI</ipxact:name>
<ipxact:displayName>EPI</ipxact:displayName> <ipxact:displayName>EPI</ipxact:displayName>
<ipxact:description>Node became error passive or bus off interrupt</ipxact:description> <ipxact:description>Node became error passive or bus off interrupt</ipxact:description>
<ipxact:bitOffset>5</ipxact:bitOffset> <ipxact:bitOffset>4</ipxact:bitOffset>
<ipxact:resets> <ipxact:resets>
<ipxact:reset> <ipxact:reset>
<ipxact:value>0</ipxact:value> <ipxact:value>0</ipxact:value>
...@@ -596,7 +596,7 @@ ...@@ -596,7 +596,7 @@
<ipxact:name>ALI</ipxact:name> <ipxact:name>ALI</ipxact:name>
<ipxact:displayName>ALI</ipxact:displayName> <ipxact:displayName>ALI</ipxact:displayName>
<ipxact:description>Arbitration lost interrupt</ipxact:description> <ipxact:description>Arbitration lost interrupt</ipxact:description>
<ipxact:bitOffset>6</ipxact:bitOffset> <ipxact:bitOffset>5</ipxact:bitOffset>
<ipxact:resets> <ipxact:resets>
<ipxact:reset> <ipxact:reset>
<ipxact:value>0</ipxact:value> <ipxact:value>0</ipxact:value>
...@@ -608,7 +608,7 @@ ...@@ -608,7 +608,7 @@
<ipxact:name>BEI</ipxact:name> <ipxact:name>BEI</ipxact:name>
<ipxact:displayName>BEI</ipxact:displayName> <ipxact:displayName>BEI</ipxact:displayName>
<ipxact:description>Bus Error interrupt</ipxact:description> <ipxact:description>Bus Error interrupt</ipxact:description>
<ipxact:bitOffset>7</ipxact:bitOffset> <ipxact:bitOffset>6</ipxact:bitOffset>
<ipxact:resets> <ipxact:resets>
<ipxact:reset> <ipxact:reset>
<ipxact:value>0</ipxact:value> <ipxact:value>0</ipxact:value>
...@@ -620,7 +620,7 @@ ...@@ -620,7 +620,7 @@
<ipxact:name>LFI</ipxact:name> <ipxact:name>LFI</ipxact:name>
<ipxact:displayName>LFI</ipxact:displayName> <ipxact:displayName>LFI</ipxact:displayName>
<ipxact:description>Event logging finished interrupt</ipxact:description> <ipxact:description>Event logging finished interrupt</ipxact:description>
<ipxact:bitOffset>8</ipxact:bitOffset> <ipxact:bitOffset>7</ipxact:bitOffset>
<ipxact:resets> <ipxact:resets>
<ipxact:reset> <ipxact:reset>
<ipxact:value>0</ipxact:value> <ipxact:value>0</ipxact:value>
...@@ -632,7 +632,7 @@ ...@@ -632,7 +632,7 @@
<ipxact:name>RFI</ipxact:name> <ipxact:name>RFI</ipxact:name>
<ipxact:displayName>RFI</ipxact:displayName> <ipxact:displayName>RFI</ipxact:displayName>
<ipxact:description>Receive buffer full interrupt</ipxact:description> <ipxact:description>Receive buffer full interrupt</ipxact:description>
<ipxact:bitOffset>9</ipxact:bitOffset> <ipxact:bitOffset>8</ipxact:bitOffset>
<ipxact:resets> <ipxact:resets>
<ipxact:reset>