Changes between Version 2 and Version 3 of spec/CV2x


Ignore:
Timestamp:
Oct 19, 2023, 9:46:23 AM (7 months ago)
Author:
fujisft-kaji
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/CV2x

    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  || [#CV2x_Init CV2x_Init]                                     ||   1|| 0x01||  ○  ||
     15  || [#CV2x_GetVersionInfo CV2x_GetVersionInfo]                 ||   2|| 0x02||  ○  ||
     16  || [#CV2x_SetControllerMode CV2x_SetControllerMode]           ||   3|| 0x03||  ○  ||
     17  || [#CV2x_GetControllerMode CV2x_GetControllerMode]           ||   4|| 0x04||  ○  ||
     18  || [#CV2x_ProvideTxBuffer CV2x_ProvideTxBuffer]               ||   5|| 0x05||  ○  ||
     19  || [#CV2x_Transmit CV2x_Transmit]                             ||   6|| 0x06||  ○  ||
     20  || [#CV2x_TxConfirmation CV2x_TxConfirmation]                 ||   7|| 0x07||  ○  ||
     21  || [#CV2x_Receive CV2x_Receive]                               ||   8|| 0x08||  ○  ||
     22  || [#CV2x_GetBufCV2xPC5RxParams CV2x_GetBufCV2xPC5RxParams]   ||   9|| 0x09||  ○  ||
     23  || [#CV2x_GetBufCV2xPC5TxParams CV2x_GetBufCV2xPC5TxParams]   ||  10|| 0x0A||  ○  ||
     24  || [#CV2x_SetBufCV2xPC5TxParams CV2x_SetBufCV2xPC5TxParams]   ||  11|| 0x0B||  ○  ||
     25  || [#CV2x_GetChanCV2xPC5TxParams CV2x_GetChanCV2xPC5TxParams] ||  12|| 0x0C||  ○  ||
     26  || [#CV2x_MainFunction CV2x_MainFunction]                     ||  16|| 0x10||  ○  ||
     27
    2328* コンフィギュレーション一覧 (R22-11)
    2429  * [#CV2xConfigSet CV2xConfigSet] (○)
     
    3944    * [#CV2xVersionInfoApi CV2xVersionInfoApi] (○)
    4045
     46* エラーコード一覧
     47  * "--"は[wiki:spec/Dem Dem]により決定される
     48
     49  ||= エラーコード =||= Dec =||= Hex =||= R22-11 =||
     50  || CV2X_E_INV_CTRL_IDX  ||  1|| 0x01||  ○  ||
     51  || CV2X_E_UNINIT        ||  2|| 0x02||  ○  ||
     52  || CV2X_E_PARAM_POINTER ||  3|| 0x03||  ○  ||
     53  || CV2X_E_INV_PARAM     ||  4|| 0x04||  ○  ||
     54  || CV2X_E_INV_MODE      ||  5|| 0x05||  ○  ||
     55  || CV2X_E_ACCESS        || --||   --||  ○  ||
     56
    4157----
    4258
    4359= API仕様 =
     60
     61== CV2x_Init ==
     62{{{
     63void CV2x_Init (const CV2x_ConfigType* CfgPtr)
     64}}}
     65
     66== CV2x_GetVersionInfo ==
     67{{{
     68void CV2x_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr)
     69}}}
     70
     71== CV2x_SetControllerMode ==
     72{{{
     73Std_ReturnType CV2x_SetControllerMode (uint8 CtrlId, Eth_ModeType CtrlMode)
     74}}}
     75
     76== CV2x_GetControllerMode ==
     77{{{
     78Std_ReturnType CV2x_GetControllerMode (uint8 CtrlId, Eth_ModeType* CtrlModePtr)
     79}}}
     80
     81== CV2x_ProvideTxBuffer ==
     82{{{
     83BufReq_ReturnType CV2x_ProvideTxBuffer (uint8 CtrlId, uint8 Priority, Eth_BufIdxType* BufIdPtr, uint8** BufPtr, uint16* LenBytePtr)
     84}}}
     85
     86== CV2x_Transmit ==
     87{{{
     88Std_ReturnType CV2x_Transmit (uint8 CtrlId, Eth_BufIdxType BufId, boolean TxConfirmation, uint16 LenByte)
     89}}}
     90
     91== CV2x_TxConfirmation ==
     92{{{
     93void CV2x_TxConfirmation (uint8 CtrlId)
     94}}}
     95
     96== CV2x_Receive ==
     97{{{
     98void CV2x_Receive (uint8 CtrlId, Eth_RxStatusType* RxStatusPtr)
     99}}}
     100
     101== CV2x_GetBufCV2xPC5RxParams ==
     102{{{
     103Std_ReturnType CV2x_GetBufCV2xPC5RxParams (uint8 CtrlId, const CV2x_BufCV2xPC5RxParamIdType* RxParamIds, uint32* ParamValues, uint8 NumParams)
     104}}}
     105
     106== CV2x_GetBufCV2xPC5TxParams ==
     107{{{
     108Std_ReturnType CV2x_GetBufCV2xPC5TxParams (uint8 CtrlId, const CV2x_BufCV2xPC5TxParamIdType* TxParamIds, uint32* ParamValues, uint8 NumParams)
     109}}}
     110
     111== CV2x_SetBufCV2xPC5TxParams ==
     112{{{
     113Std_ReturnType CV2x_SetBufCV2xPC5TxParams (uint8 CtrlId, Eth_BufIdxType BufId, const CV2x_BufCV2xPC5TxParamIdType* TxParamIds, uint32* ParamValues, uint8 NumParams)
     114}}}
     115
     116== CV2x_GetChanCV2xPC5TxParams ==
     117{{{
     118Std_ReturnType CV2x_GetChanCV2xPC5TxParams (uint8 CtrlId, uint8 ChannelId, const CV2x_GetChanTxParamIdType* ParamIds, uint32* ParamValues, uint8 NumParams)
     119}}}
     120
     121== CV2x_MainFunction ==
     122{{{
     123void CV2x_MainFunction (void)
     124}}}
    44125
    45126----