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
3 years ago
Last modified on Dec 9, 2022, 5:18:30 PM
Note:
See TracWiki
for help on using the wiki.