Changes between Version 2 and Version 3 of spec/CanXL


Ignore:
Timestamp:
Oct 18, 2023, 4:32:20 PM (7 months ago)
Author:
fujisft-kaji
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/CanXL

    v2 v3  
    77[[BR]]
    88
    9 {{{#!comment
    10 [執筆開始時削除エリア]ここから
    11 ※コメントごと削除してください
    12 }}}
    13 * '''本項目は、まだ執筆されていません'''
    14 * '''要望等ございましたら、[wiki: Wikiトップページ]にあります[wiki:#本サイトに関して 問い合わせ先]までお願いします'''
    15 ----
    16 {{{#!comment
    17 [執筆開始時削除エリア]ここまで
    18 ※コメントごと削除してください
    19 }}}
    20 
    219= 概要 =
     10
    2211* API一覧
     12
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R22-11 =||
     14  || [#CanXL_EnableEgressTimeStamp CanXL_EnableEgressTimeStamp]     ||  23|| 0x17||  ○  ||
     15  || [#CanXL_GetControllerMode CanXL_GetControllerMode]             ||   4|| 0x04||  ○  ||
     16  || [#CanXL_GetCounterValues CanXL_GetCounterValues]               ||  20|| 0x14||  ○  ||
     17  || [#CanXL_GetCurrentTime CanXL_GetCurrentTime]                   ||  22|| 0x16||  ○  ||
     18  || [#CanXL_GetEgressTimeStamp CanXL_GetEgressTimeStamp]           ||  24|| 0x18||  ○  ||
     19  || [#CanXL_GetIngressTimeStamp CanXL_GetIngressTimeStamp]         ||  25|| 0x19||  ○  ||
     20  || [#CanXL_GetPhysAddr CanXL_GetPhysAddr]                         ||   8|| 0x08||  ○  ||
     21  || [#CanXL_GetRxStats CanXL_GetRxStats]                           ||  21|| 0x15||  ○  ||
     22  || [#CanXL_GetTxErrorCounterValues CanXL_GetTxErrorCounterValues] ||  29|| 0x1D||  ○  ||
     23  || [#CanXL_GetTxStats CanXL_GetTxStats]                           ||  28|| 0x1C||  ○  ||
     24  || [#CanXL_ProvideTxBuffer CanXL_ProvideTxBuffer]                 ||   9|| 0x09||  ○  ||
     25  || [#CanXL_Receive CanXL_Receive]                                 ||  11|| 0x0B||  ○  ||
     26  || [#CanXL_SetControllerMode CanXL_SetControllerMode]             ||   3|| 0x03||  ○  ||
     27  || [#CanXL_SetPhysAddr CanXL_SetPhysAddr]                         ||  19|| 0x13||  ○  ||
     28  || [#CanXL_Transmit CanXL_Transmit]                               ||  10|| 0x0A||  ○  ||
     29  || [#CanXL_TxConfirmation CanXL_TxConfirmation]                   ||  12|| 0x0C||  ○  ||
     30  || [#CanXL_UpdatePhysAddrFilter CanXL_UpdatePhysAddrFilter]       ||  18|| 0x12||  ○  ||
     31  || [#CanXL_Write CanXL_Write]                                     ||  16|| 0x10||  ○  ||
     32
    2333* コンフィギュレーション一覧 (R22-11)  ※Canモジュールに含まれる
    2434  * [#CanConfigSet CanConfigSet] (○)
     
    144154      * [#CanXLEthGlobalTimeSupport CanXLEthGlobalTimeSupport] (○)
    145155
     156* エラーコード一覧
     157
     158  ||= エラーコード =||= Dec =||= Hex =||= R22-11 =||
     159  || CANXL_E_PARAM_POINTER     ||  1|| 0x01||  ○  ||
     160  || CANXL_E_PARAM_HANDLE      ||  2|| 0x02||  ○  ||
     161  || CANXL_E_PARAM_DATA_LENGTH ||  3|| 0x03||  ○  ||
     162  || CANXL_E_PARAM_CONTROLLER  ||  4|| 0x04||  ○  ||
     163  || CANXL_E_UNINIT            ||  5|| 0x05||  ○  ||
     164  || CANXL_E_INV_PARAM         || 16|| 0x10||  ○  ||
     165  || CANXL_E_INV_MODE          || 17|| 0x11||  ○  ||
     166  || CANXL_E_INV_DATA          || 18|| 0x12||  ○  ||
     167
    146168----
    147169
    148170= API仕様 =
     171
     172== CanXL_EnableEgressTimeStamp ==
     173{{{
     174void CanXL_EnableEgressTimeStamp (uint8 CtrlIdx, Eth_BufIdxType BufIdx)
     175}}}
     176
     177== CanXL_GetControllerMode ==
     178{{{
     179Std_ReturnType CanXL_GetControllerMode (uint8 CtrlIdx, Eth_ModeType* CtrlModePtr)
     180}}}
     181
     182== CanXL_GetCounterValues ==
     183{{{
     184Std_ReturnType CanXL_GetCounterValues (uint8 CtrlIdx, Eth_CounterType* CounterPtr)
     185}}}
     186
     187== CanXL_GetCurrentTime ==
     188{{{
     189Std_ReturnType CanXL_GetCurrentTime (uint8 CtrlIdx, Eth_TimeStampQualType* timeQualPtr, Eth_TimeStampType* timeStampPtr)
     190}}}
     191
     192== CanXL_GetEgressTimeStamp ==
     193{{{
     194Std_ReturnType CanXL_GetEgressTimeStamp (uint8 CtrlIdx, Eth_BufIdxType BufIdx, Eth_TimeStampQualType* timeQualPtr, Eth_TimeStampType* timeStampPtr)
     195}}}
     196
     197== CanXL_GetIngressTimeStamp ==
     198{{{
     199Std_ReturnType CanXL_GetIngressTimeStamp (uint8 CtrlIdx, const Eth_DataType* DataPtr, Eth_TimeStampQualType* timeQualPtr, Eth_TimeStampType* timeStampPtr)
     200}}}
     201
     202== CanXL_GetPhysAddr ==
     203{{{
     204void CanXL_GetPhysAddr (uint8 CtrlIdx, uint8* PhysAddrPtr)
     205}}}
     206
     207== CanXL_GetRxStats ==
     208{{{
     209Std_ReturnType CanXL_GetRxStats (uint8 CtrlIdx, Eth_RxStatsType* RxStats)
     210}}}
     211
     212== CanXL_GetTxErrorCounterValues ==
     213{{{
     214Std_ReturnType CanXL_GetTxErrorCounterValues (uint8 CtrlIdx, Eth_TxErrorCounterValuesType* TxErrorCounterValues)
     215}}}
     216
     217== CanXL_GetTxStats ==
     218{{{
     219Std_ReturnType CanXL_GetTxStats (uint8 CtrlIdx, Eth_TxStatsType* TxStats)
     220}}}
     221
     222== CanXL_ProvideTxBuffer ==
     223{{{
     224BufReq_ReturnType CanXL_ProvideTxBuffer (uint8 CtrlIdx, uint8 Priority, Eth_BufIdxType* BufIdxPtr, uint8** BufPtr, uint16* LenBytePtr)
     225}}}
     226
     227== CanXL_Receive ==
     228{{{
     229void CanXL_Receive (uint8 CtrlIdx, uint8 QueueIdx, Eth_RxStatusType* RxStatusPtr)
     230}}}
     231
     232== CanXL_SetControllerMode ==
     233{{{
     234Std_ReturnType CanXL_SetControllerMode (uint8 CtrlIdx, Eth_ModeType CtrlMode)
     235}}}
     236
     237== CanXL_SetPhysAddr ==
     238{{{
     239void CanXL_SetPhysAddr (uint8 CtrlIdx, const uint8* PhysAddrPtr)
     240}}}
     241
     242== CanXL_Transmit ==
     243{{{
     244Std_ReturnType CanXL_Transmit (uint8 CtrlIdx, Eth_BufIdxType BufIdx, Eth_FrameType FrameType , boolean TxConfirmation, uint16 LenByte, const uint8* PhysAddrPtr)
     245}}}
     246
     247== CanXL_TxConfirmation ==
     248{{{
     249void CanXL_TxConfirmation (uint8 CtrlIdx)
     250}}}
     251
     252== CanXL_UpdatePhysAddrFilter ==
     253{{{
     254Std_ReturnType CanXL_UpdatePhysAddrFilter (uint8 CtrlIdx, const uint8* PhysAddrPtr, Eth_FilterActionType Action)
     255}}}
     256
     257== CanXL_Write ==
     258{{{
     259Std_ReturnType CanXL_Write (Can_HwHandleType Hth, const CanXL_PduType* PduInfo)
     260}}}
    149261
    150262----