Changes between Version 2 and Version 3 of spec/CanXLTrcv


Ignore:
Timestamp:
Oct 18, 2023, 5:11:37 PM (7 months ago)
Author:
fujisft-kaji
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/CanXLTrcv

    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  || [#CanXLTrcv_ReportErrorState CanXLTrcv_ReportErrorState]                       ||   1|| 0x01||  ○  ||
     15  || [#CanXLTrcv_TransceiverLinkStateRequest CanXLTrcv_TransceiverLinkStateRequest] ||   2|| 0x02||  ○  ||
     16  || [#CanXLTrcv_SetTransceiverMode CanXLTrcv_SetTransceiverMode]                   ||   3|| 0x03||  ○  ||
     17  || [#CanXLTrcv_GetTransceiverMode CanXLTrcv_GetTransceiverMode]                   ||   4|| 0x04||  ○  ||
     18  || [#CanXLTrcv_GetLinkState CanXLTrcv_GetLinkState]                               ||   6|| 0x06||  ○  ||
     19  || [#CanXLTrcv_CheckWakeup CanXLTrcv_CheckWakeup]                                 ||  15|| 0x0F||  ○  ||
     20
    2321* コンフィギュレーション一覧 (R22-11) ※CanTrcvに含まれる
    2422  * [#CanTrcvConfigSet CanTrcvConfigSet] (○)
     
    7371    * [#CanTrcvWaitTime CanTrcvWaitTime] (○)
    7472    * [#CanTrcvWakeUpSupport CanTrcvWakeUpSupport] (○)
     73
     74* エラーコード一覧
     75
     76  ||= エラーコード =||= Dec =||= Hex =||= R22-11 =||
     77  || CANXLTRCV_E_INVALID_TRANSCEIVER ||  1|| 0x01||  ○  ||
     78  || CANXLTRCV_E_PARAM_POINTER       ||  2|| 0x02||  ○  ||
     79  || CANXLTRCV_E_UNINIT              || 17|| 0x11||  ○  ||
     80  || CANXLTRCV_E_INVALID_ERROR_STATE || 48|| 0x30||  ○  ||
     81  || CANXLTRCV_E_INVALID_LINK_STATE  || 49|| 0x31||  ○  ||
     82
    7583----
    7684
    7785= API仕様 =
     86
     87== CanXLTrcv_ReportErrorState ==
     88{{{
     89Std_ReturnType CanXLTrcv_ReportErrorState (uint8 Transceiver, Can_ErrorStateType ErrorState)
     90}}}
     91
     92== CanXLTrcv_TransceiverLinkStateRequest ==
     93{{{
     94Std_ReturnType CanXLTrcv_TransceiverLinkStateRequest (uint8 TrcvIdx, EthTrcv_LinkStateType LinkState)
     95}}}
     96
     97== CanXLTrcv_SetTransceiverMode ==
     98{{{
     99Std_ReturnType CanXLTrcv_SetTransceiverMode (uint8 TrcvIdx, Eth_ModeType TrcvMode)
     100}}}
     101
     102== CanXLTrcv_GetTransceiverMode ==
     103{{{
     104Std_ReturnType CanXLTrcv_GetTransceiverMode (uint8 TrcvIdx, Eth_ModeType* TrcvModePtr)
     105}}}
     106
     107== CanXLTrcv_GetLinkState ==
     108{{{
     109Std_ReturnType CanXLTrcv_GetLinkState (uint8 TrcvIdx, EthTrcv_LinkStateType* LinkStatePtr)
     110}}}
     111
     112== CanXLTrcv_CheckWakeup ==
     113{{{
     114Std_ReturnType CanXLTrcv_CheckWakeup (uint8 TrcvIdx)
     115}}}
    78116
    79117----