Changes between Version 17 and Version 18 of spec/CanIf
- Timestamp:
- Dec 9, 2022, 10:32:33 AM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
spec/CanIf
v17 v18 256 256 Std_ReturnType CanIf_SetControllerMode(uint8 ControllerId, CanIf_ControllerModeType ControllerMode) 257 257 }}} 258 259 * R21-11260 {{{261 Std_ReturnType CanIf_SetControllerMode (uint8 ControllerId, Can_ControllerStateType ControllerMode)262 }}}263 258 * 引数ControllerIdで指定したCANコントローラの動作モードを、引数ControllerModeで指定した状態に遷移する 264 259 * CanIf_ControllerModeTypeは以下のENUM型となる … … 271 266 * これにより、CanIfモジュール内でハードウェア上の動作モードを管理できる 272 267 268 * R21-11 269 {{{ 270 Std_ReturnType CanIf_SetControllerMode (uint8 ControllerId, Can_ControllerStateType ControllerMode) 271 }}} 272 273 273 == CanIf_GetControllerMode == 274 274 * R4.0.3 / R4.2.2 … … 276 276 Std_ReturnType CanIf_GetControllerMode(uint8 ControllerId, CanIf_ControllerModeType* ControllerModePtr) 277 277 }}} 278 279 * R21-11280 {{{281 Std_ReturnType CanIf_GetControllerMode (uint8 ControllerId, Can_ControllerStateType* ControllerModePtr)282 }}}283 278 * 引数ControllerIdで指定したCANコントローラの現在の動作モードを、引数ControllerModePtrで指定した領域に取得する 284 279 * CanIfモジュール内で管理している動作モードを返す 285 280 281 * R21-11 282 {{{ 283 Std_ReturnType CanIf_GetControllerMode (uint8 ControllerId, Can_ControllerStateType* ControllerModePtr) 284 }}} 285 286 286 == CanIf_GetControllerErrorState == 287 287 {{{ … … 294 294 Std_ReturnType CanIf_Transmit(PduIdType CanIfTxSduId, const PduInfoType* CanIfTxInfoPtr) 295 295 }}} 296 297 * R21-11298 {{{299 Std_ReturnType CanIf_Transmit (PduIdType TxPduId, const PduInfoType* PduInfoPtr)300 }}}301 296 * 引数CanTxPduIdで与えたI-PDUに対して、引数CanIfTxInfoPtrで指定したデータを送信する 302 297 * 送信条件が揃っている場合、[wiki:spec/Can#Can_Write CanモジュールのCan_Write]を呼び出すことにより、実際にCANバスへデータが送信される 298 299 * R21-11 300 {{{ 301 Std_ReturnType CanIf_Transmit (PduIdType TxPduId, const PduInfoType* PduInfoPtr) 302 }}} 303 303 304 304 == CanIf_CancelTransmit == … … 475 475 void CanIf_RxIndication(Can_HwHandleType Hrh, Can_IdType CanId, uint8 CanDlc, uint8 *CanSduPtr) 476 476 }}} 477 478 * R4.2.2 / R21-11479 {{{480 void CanIf_RxIndication (const Can_HwType* Mailbox, const PduInfoType* PduInfoPtr)481 }}}482 477 * 上位レイヤへ引数Hrhで指定したハードウェアオブジェクトに対する受信通知を行う 483 478 * 引数CanSduPtrで受け取ったデータを上位レイヤへ渡す 484 479 * CanId、CanDlcには、CANバスから受信した情報が渡されるが、主にコンフィギュレーション時に設定しな内容と相違がないかチェックするのに使用される 485 480 * [wiki:spec/Can Canモジュール]において、CANバスから受信通知を受け取った場合に呼び出される 481 482 * R4.2.2 / R21-11 483 {{{ 484 void CanIf_RxIndication (const Can_HwType* Mailbox, const PduInfoType* PduInfoPtr) 485 }}} 486 486 487 487 == CanIf_CancelTxConfirmation ==