Version 5 (modified by 9 years ago) ( diff ) | ,
---|
Network Management Interface
概要
- API一覧
API ID
[Dec]ID
[Hex]Nm_Init 0 0x00 Nm_PassiveStartUp 1 0x01 Nm_NetworkRequest 2 0x02 Nm_NetworkRelease 3 0x03 Nm_DisableCommunication 4 0x04 Nm_EnableCommunication 5 0x05 Nm_SetUserData 6 0x06 Nm_GetUserData 7 0x07 Nm_GetPduData 8 0x08 Nm_RepeatMessageRequest 9 0x09 Nm_GetNodeIdentifier 10 0x0A Nm_GetLocalNodeIdentifier 11 0x0B Nm_CheckRemoteSleepIndication 13 0x0D Nm_GetState 14 0x0E Nm_GetVersionInfo 15 0x0F Nm_NetworkStartIndication 17 0x11 Nm_NetworkMode 18 0x12 Nm_BusSleepMode 20 0x14 Nm_PrepareBusSleepMode 19 0x13 Nm_RemoteSleepIndication 23 0x17 Nm_RemoteSleepCancellation 24 0x18 Nm_SynchronizationPoint 25 0x19 Nm_PduRxIndication 21 0x15 Nm_StateChangeNotification 22 0x16 Nm_RepeatMessageIndication 26 0x1A Nm_TxTimeoutException 27 0x1B Nm_CarWakeUpIndication 29 0x1D Nm_CoordReadyToSleepIndication 30 0x1E Nm_MainFunction 16 0x10
- コンフィギュレーション一覧
- NmChannelConfig
- NmGlobalConfig
- NmGlobalConstants
- NmGlobalFeatures
- NmBusSynchronizationEnabled
- NmCarWakeUpCallback
- NmCarWakeUpRxEnabled
- NmComControlEnabled
- NmComUserDataSupport
- NmCoordinatorSupportEnabled
- NmGlobalCoordinatorTime
- NmNodeDetectionEnabled
- NmNodeIdEnabled
- NmPduRxIndicationEnabled
- NmRemoteSleepIndEnabled
- NmRepeatMsgIndEnabled
- NmStateChangeIndEnabled
- NmUserDataEnabled
- NmGlobalProperties
- エラーコード一覧
エラーコード Dec Hex NM_E_UNINIT 0 0x00 NM_E_HANDLE_UNDEF 1 0x01 NM_E_PARAM_POINTER 2 0x02
API仕様
Nm_Init
void Nm_Init(void)
Nm_PassiveStartUp
Std_ReturnType Nm_PassiveStartUp(const NetworkHandleType NetworkHandle)
Nm_NetworkRequest
Std_ReturnType Nm_NetworkRequest(const NetworkHandleType NetworkHandle)
Nm_NetworkRelease
Std_ReturnType Nm_NetworkRelease(const NetworkHandleType NetworkHandle)
Nm_DisableCommunication
Std_ReturnType Nm_DisableCommunication(const NetworkHandleType NetworkHandle)
Nm_EnableCommunication
Std_ReturnType Nm_EnableCommunication(const NetworkHandleType NetworkHandle)
Nm_SetUserData
Std_ReturnType Nm_SetUserData(const NetworkHandleType NetworkHandle, const uint8 * const nmUserDataPtr)
Nm_GetUserData
Std_ReturnType Nm_GetUserData(const NetworkHandleType NetworkHandle, uint8 * const nmUserDataPtr)
Nm_GetPduData
Std_ReturnType Nm_GetPduData(const NetworkHandleType NetworkHandle, uint8 * const nmPduData)
Nm_RepeatMessageRequest
Std_ReturnType Nm_RepeatMessageRequest(const NetworkHandleType NetworkHandle)
Nm_GetNodeIdentifier
Std_ReturnType Nm_GetNodeIdentifier(const NetworkHandleType NetworkHandle, uint8 * const nmNodeIdPtr)
Nm_GetLocalNodeIdentifier
Std_ReturnType Nm_GetLocalNodeIdentifier(const NetworkHandleType NetworkHandle, uint8 * const nmNodeIdPtr)
Nm_CheckRemoteSleepIndication
Std_ReturnType Nm_CheckRemoteSleepIndication(const NetworkHandleType nmNetworkHandle, boolean * const nmRemoteSleepIndPtr)
Nm_GetState
Std_ReturnType Nm_GetState(const NetworkHandleType nmNetworkHandle, Nm_StateType* const nmStatePtr, Nm_ModeType* const nmModePtr)
Nm_GetVersionInfo
void Nm_GetVersionInfo(Std_VersionInfoType* nmVerInfoPtr)
Nm_NetworkStartIndication
void Nm_NetworkStartIndication(const NetworkHandleType nmNetworkHandle)
Nm_NetworkMode
void Nm_NetworkMode(const NetworkHandleType nmNetworkHandle)
Nm_BusSleepMode
void Nm_BusSleepMode(const NetworkHandleType nmNetworkHandle)
Nm_PrepareBusSleepMode
void Nm_PrepareBusSleepMode(const NetworkHandleType nmNetworkHandle)
Nm_RemoteSleepIndication
void Nm_RemoteSleepIndication(const NetworkHandleType nmNetworkHandle)
Nm_RemoteSleepCancellation
void Nm_RemoteSleepCancellation(const NetworkHandleType nmNetworkHandle)
Nm_SynchronizationPoint
void Nm_SynchronizationPoint(const NetworkHandleType nmNetworkHandle)
Nm_PduRxIndication
void Nm_PduRxIndication(const NetworkHandleType nmNetworkHandle)
Nm_StateChangeNotification
void Nm_StateChangeNotification(const NetworkHandleType nmNetworkHandle, const Nm_StateType nmPreviousState, const Nm_StateType nmCurrentState)
Nm_RepeatMessageIndication
void Nm_RepeatMessageIndication(const NetworkHandleType nmNetworkHandle)
Nm_TxTimeoutException
void Nm_TxTimeoutException(const NetworkHandleType nmNetworkHandle)
Nm_CarWakeUpIndication
void Nm_CarWakeUpIndication(const NetworkHandleType nmChannelHandle)
Nm_CoordReadyToSleepIndication
void Nm_CoordReadyToSleepIndication(const NetworkHandleType nmChannelHandle)
Nm_MainFunction
void Nm_MainFunction(void)
コンフィギュレーション仕様
NmChannelConfig
/AUTOSAR/EcucDefs/Nm/NmChannelConfig
- 型:Container
- 多重度:1..*
NmActiveCoordinator
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmActiveCoordinator
- 型:BooleanParam
- 多重度:0..1
NmChannelId
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmChannelId
- 型:IntegerParam
- 多重度:1
NmChannelSleepMaster
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmChannelSleepMaster
- 型:BooleanParam
- 多重度:1
NmCoordClusterIndex
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmCoordClusterIndex
- 型:IntegerParam
- 多重度:0..1
NmPassiveModeEnabled
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmPassiveModeEnabled
- 型:BooleanParam
- 多重度:1
NmShutdownDelayTimer
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmShutdownDelayTimer
- 型:FloatParam
- 多重度:1
NmStateReportEnabled
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmStateReportEnabled
- 型:BooleanParam
- 多重度:1
NmSynchronizingNetwork
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmSynchronizingNetwork
- 型:BooleanParam
- 多重度:1
NmComMChannelRef
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmComMChannelRef
- 型:Reference
- 多重度:1
NmStateReportSignalRef
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmStateReportSignalRef
- 型:Reference
- 多重度:0..1
NmBusType
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmBusType
- 型:Container
- 多重度:1
NmGenericBusNmConfig
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmBusType/NmGenericBusNmConfig
- 型:Container
- 多重度:1
NmGenericBusNmPrefix
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmBusType/NmGenericBusNmConfig/NmGenericBusNmPrefix
- 型:StringParam
- 多重度:1
NmStandardBusNmConfig
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmBusType/NmStandardBusNmConfig
- 型:Container
- 多重度:1
NmStandardBusType
/AUTOSAR/EcucDefs/Nm/NmChannelConfig/NmBusType/NmStandardBusNmConfig/NmStandardBusType
- 型:EnumerationParam
- 多重度:1
NmGlobalConfig
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig
- 型:Container
- 多重度:1
NmGlobalConstants
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalConstants
- 型:Container
- 多重度:1
NmNumberOfChannels
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalConstants/NmNumberOfChannels
- 型:IntegerParam
- 多重度:1
NmGlobalFeatures
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures
- 型:Container
- 多重度:1
NmBusSynchronizationEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmBusSynchronizationEnabled
- 型:BooleanParam
- 多重度:1
NmCarWakeUpCallback
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmCarWakeUpCallback
- 型:FunctionName
- 多重度:0..1
NmCarWakeUpRxEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmCarWakeUpRxEnabled
- 型:BooleanParam
- 多重度:1
NmComControlEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmComControlEnabled
- 型:BooleanParam
- 多重度:1
NmComUserDataSupport
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmComUserDataSupport
- 型:BooleanParam
- 多重度:1
NmCoordinatorSupportEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmCoordinatorSupportEnabled
- 型:BooleanParam
- 多重度:1
NmGlobalCoordinatorTime
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmGlobalCoordinatorTime
- 型:FloatParam
- 多重度:0..1
NmNodeDetectionEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmNodeDetectionEnabled
- 型:BooleanParam
- 多重度:1
NmNodeIdEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmNodeIdEnabled
- 型:BooleanParam
- 多重度:1
NmPduRxIndicationEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmPduRxIndicationEnabled
- 型:BooleanParam
- 多重度:1
NmRemoteSleepIndEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmRemoteSleepIndEnabled
- 型:BooleanParam
- 多重度:1
NmRepeatMsgIndEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmRepeatMsgIndEnabled
- 型:BooleanParam
- 多重度:1
NmStateChangeIndEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmStateChangeIndEnabled
- 型:BooleanParam
- 多重度:1
NmUserDataEnabled
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalFeatures/NmUserDataEnabled
- 型:BooleanParam
- 多重度:1
NmGlobalProperties
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalProperties
- 型:Container
- 多重度:1
NmCycletimeMainFunction
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalProperties/NmCycletimeMainFunction
- 型:FloatParam
- 多重度:1
NmDevErrorDetect
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalProperties/NmDevErrorDetect
- 型:BooleanParam
- 多重度:1
NmVersionInfoApi
/AUTOSAR/EcucDefs/Nm/NmGlobalConfig/NmGlobalProperties/NmVersionInfoApi
- 型:BooleanParam
- 多重度:1
Note:
See TracWiki
for help on using the wiki.