Wireless Ethernet Driver
概要
- API一覧
API ID
[Dec]ID
[Hex]R21-11 WEth_Init 1 0x01 ○ WEth_SetControllerMode 3 0x03 ○ WEth_GetControllerMode 4 0x04 ○ WEth_GetPhysAddr 8 0x08 ○ WEth_SetPhysAddr 19 0x13 ○ WEth_UpdatePhysAddrFilter 18 0x12 ○ WEth_ProvideTxBuffer 9 0x09 ○ WEth_Transmit 20 0x14 ○ WEth_TxConfirmation 2 0x02 ○ WEth_Receive 5 0x05 ○ WEth_GetWEtherStats32 21 0x15 ○ WEth_GetWEtherStats64 224 0xE0 ○ WEth_WriteTrcvRegs 48 0x30 ○ WEth_ReadTrcvRegs 49 0x31 ○ WEth_GetBufWRxParams 52 0x34 ○ WEth_GetBufWTxParams 53 0x35 ○ WEth_SetBufWTxParams 54 0x36 ○ WEth_GetVersionInfo 13 0x0D ○ WEth_TriggerPriorityQueueTransmit 55 0x37 ○ WEth_MainFunction 10 0x0A ○
- コンフィギュレーション一覧 (R4.3.1/R4.4.0/R19-11/R20-11/R21-11)
- WEthConfigSet (○/○/○/○/○)
- WEthCtrlConfig (○/○/○/○/○)
- WEthCtrlEcucPartitionRef (-/○/○/○/○)
- WEthCtrlId (○/○/○/○/○)
- WEthCtrlPhyAddress (○/○/○/○/○)
- WEthCtrlRxBufLenByte (○/○/○/○/○)
- WEthCtrlTxBufLenByte (○/○/○/○/○)
- WEthDemEventParameterRefs (○/○/○/○/○)
- WETH_E_ACCESS (○/○/○/○/○)
- WEthRxBufTotal (○/○/○/○/○)
- WEthTxBufTotal (○/○/○/○/○)
- WEthCtrlConfig (○/○/○/○/○)
- WEthGeneral (○/○/○/○/○)
- WEthDevErrorDetect (○/○/○/○/○)
- WEthEcucPartitionRef (-/○/○/○/○)
- WEthGetWEtherStatsApi (○/○/○/○/○)
- WEthIndex (○/○/○/○/○)
- WEthMainFunctionPeriod (○/○/○/○/○)
- WEthUpdatePhysAddrFilter (○/○/○/○/○)
- WEthVersionInfoApi (○/○/○/○/○)
- WEthConfigSet (○/○/○/○/○)
- エラーコード一覧
- "--"はDemにより決定される
エラーコード Dec Hex R21-11 WETH_E_INV_CTRL_ID 1 0x01 ○ WETH_E_UNINIT 2 0x02 ○ WETH_E_PARAM_POINTER 3 0x03 ○ WETH_E_ACCESS -- -- ○
API仕様
WEth_Init
void WEth_Init (const WEth_ConfigType* CfgPtr)
WEth_SetControllerMode
Std_ReturnType WEth_SetControllerMode (uint8 CtrlId, Eth_ModeType CtrlMode)
WEth_GetControllerMode
Std_ReturnType WEth_GetControllerMode (uint8 CtrlId, Eth_ModeType* CtrlModePtr)
WEth_GetPhysAddr
void WEth_GetPhysAddr (uint8 CtrlId, uint8* PhysAddrPtr)
WEth_SetPhysAddr
void WEth_SetPhysAddr (uint8 CtrlId, const uint8* PhysAddrPtr)
WEth_UpdatePhysAddrFilter
Std_ReturnType WEth_UpdatePhysAddrFilter (uint8 CtrlId, const uint8* PhysAddrPtr, const uint8* PhysMaskPtr, Eth_FilterActionType Action)
WEth_ProvideTxBuffer
BufReq_ReturnType WEth_ProvideTxBuffer (uint8 CtrlId, uint8 Priority, Eth_BufIdxType* BufIdPtr, uint8** BufPtr, uint16* LenBytePtr)
WEth_Transmit
Std_ReturnType WEth_Transmit (uint8 CtrlId, Eth_BufIdxType BufId, Eth_FrameType FrameType, boolean TxConfirmation, uint16 LenByte, const uint8* PhysAddrPtr)
WEth_TxConfirmation
void WEth_TxConfirmation (uint8 CtrlId)
WEth_Receive
void WEth_Receive (uint8 CtrlId, Eth_RxStatusType* RxStatusPtr)
WEth_GetWEtherStats32
Std_ReturnType WEth_GetWEtherStats32 (uint8 CtrlId, uint32* WEtherStats)
WEth_GetWEtherStats64
Std_ReturnType WEth_GetWEtherStats64 (uint8 CtrlId, uint64* WEtherStats)
WEth_WriteTrcvRegs
Std_ReturnType WEth_WriteTrcvRegs (uint8 CtrlId, uint8 TrcvId, uint8 RadioId, const uint32* RegIds, const uint32* RegVals, uint8 NumRegs)
WEth_ReadTrcvRegs
Std_ReturnType WEth_ReadTrcvRegs (uint8 CtrlId, uint8 TrcvId, uint8 RadioId, const uint32* RegIds, uint32* RegValsPtr, uint8 NumRegs)
WEth_GetBufWRxParams
Std_ReturnType WEth_GetBufWRxParams (uint8 CtrlId, const WEth_BufWRxParamIdType* RxParamIds, uint32* ParamValues, uint8 NumParams)
WEth_GetBufWTxParams
Std_ReturnType WEth_GetBufWTxParams (uint8 CtrlId, const WEth_BufWTxParamIdType* TxParamIds, uint32* ParamValues, uint8 NumParams)
WEth_SetBufWTxParams
Std_ReturnType WEth_SetBufWTxParams (uint8 CtrlId, Eth_BufIdxType BufId, const WEth_BufWTxParamIdType* TxParamIds, const uint32* ParamValues, uint8 NumParams)
WEth_GetVersionInfo
void WEth_GetVersionInfo (Std_VersionInfoType* VersionInfoPtr)
WEth_TriggerPriorityQueueTransmit
Std_ReturnType WEth_TriggerPriorityQueueTransmit (uint8 CtrlId, uint8 PriorityQueue, uint8 MaxTxPower)
WEth_MainFunction
void WEth_MainFunction (void)
コンフィギュレーション仕様
WEthConfigSet
/AUTOSAR/EcucDefs/WEth/WEthConfigSet
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00015
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 1
WEthCtrlConfig
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00006
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 1..*
WEthCtrlEcucPartitionRef
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthCtrlEcucPartitionRef
- 対象リビジョン: R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00039
- タイプ: REFERENCE
- 多重度: 0..1
- 参照先: /AUTOSAR/EcucDefs/EcuC/EcucPartitionCollection/EcucPartition
WEthCtrlId
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthCtrlId
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00007
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 255
- 下限値: 0
WEthCtrlPhyAddress
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthCtrlPhyAddress
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00020
- タイプ: STRING-PARAM
- 多重度: 0..1
WEthCtrlRxBufLenByte
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthCtrlRxBufLenByte
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00008
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 1522
- 下限値: 0
WEthCtrlTxBufLenByte
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthCtrlTxBufLenByte
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00009
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 1522
- 下限値: 0
WEthDemEventParameterRefs
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthDemEventParameterRefs
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00016
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 0..1
WETH_E_ACCESS
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthDemEventParameterRefs/WETH_E_ACCESS
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00017
- タイプ:
- R4.3.1: SYMBOLIC-NAME-REFERENCE
- R4.4.0/R19-11/R20-11/R21-11: REFERENCE
- 多重度: 0..1
- 参照先: /AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter
WEthRxBufTotal
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthRxBufTotal
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00013
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 255
- 下限値: 0
WEthTxBufTotal
/AUTOSAR/EcucDefs/WEth/WEthConfigSet/WEthCtrlConfig/WEthTxBufTotal
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00014
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 255
- 下限値: 0
WEthGeneral
/AUTOSAR/EcucDefs/WEth/WEthGeneral
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00001
- タイプ: PARAM-CONF-CONTAINER
- 多重度: 1
WEthDevErrorDetect
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthDevErrorDetect
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00003
- タイプ: BOOLEAN-PARAM
- 多重度: 1
- デフォルト値: false
WEthEcucPartitionRef
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthEcucPartitionRef
- 対象リビジョン: R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00038
- タイプ: REFERENCE
- 多重度: 0..*
- 参照先: /AUTOSAR/EcucDefs/EcuC/EcucPartitionCollection/EcucPartition
WEthGetWEtherStatsApi
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthGetWEtherStatsApi
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00036
- タイプ: BOOLEAN-PARAM
- 多重度: 1
WEthIndex
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthIndex
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00018
- タイプ: INTEGER-PARAM
- 多重度: 1
- 上限値: 255
- 下限値: 0
WEthMainFunctionPeriod
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthMainFunctionPeriod
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00022
- タイプ: FLOAT-PARAM
- 多重度: 1
- 上限値: INF
- 下限値: 0
WEthUpdatePhysAddrFilter
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthUpdatePhysAddrFilter
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00019
- タイプ: BOOLEAN-PARAM
- 多重度: 1
- デフォルト値: false
WEthVersionInfoApi
/AUTOSAR/EcucDefs/WEth/WEthGeneral/WEthVersionInfoApi
- 対象リビジョン: R4.3.1/R4.4.0/R19-11/R20-11/R21-11
- SWSタグ: ECUC_WEth_00004
- タイプ: BOOLEAN-PARAM
- 多重度: 1
- デフォルト値: false
Last modified
16 months ago
Last modified on Dec 9, 2022, 5:18:30 PM
Note:
See TracWiki
for help on using the wiki.