FNet Controller Area Network controller.
More...
#include <CFNetCtrl.h>
|
| SPOptionFNetCANCfg | cfg () |
| | Returns CAN Option controller used for setting configuration.
|
| void | ctrl_inject (const ECAN eLength, const uint32_t nID, const bool bFD, const bool bBRS, const bool bESI, const bool bRequest, const std::string &rstrData) |
| | Injects the CAN message on CAN bus with specified parameters.
|
| SPOptionFNetCANOp | op () |
| | Returns CAN Option controller used for setting operation.
|
| void | op_qualifier_disable (uint8_t nFTrigDisable) |
| | Disables the trigger.
|
| void | op_qualifier_enable (uint8_t nFTrigEnable) |
| | Enables the trigger.
|
| void | op_qualifier_enable_on_start (bool bEnableFromStart) |
| | Enables the trigger from start.
|
| void | op_set_qualifier (bool bEnableFromStart, uint8_t nFTrigEnable, uint8_t nFTrigDisable) |
FNet Controller Area Network controller.
Python example: fnet_can.py
◆ cfg()
| SPOptionFNetCANCfg isys::CFNetCANCtrl::cfg |
( |
| ) |
|
Returns CAN Option controller used for setting configuration.
- Returns
- COptionFNetCANCfg
◆ ctrl_inject()
| void isys::CFNetCANCtrl::ctrl_inject |
( |
const ECAN | eLength, |
|
|
const uint32_t | nID, |
|
|
const bool | bFD, |
|
|
const bool | bBRS, |
|
|
const bool | bESI, |
|
|
const bool | bRequest, |
|
|
const std::string & | rstrData ) |
Injects the CAN message on CAN bus with specified parameters.
- Parameters
-
| eLength | length of the message |
| nID | ID |
| bFD | set to send CAN FD packet (FD mode only) |
| bBRS | set to send CAN FD packet with Bit Rate Switching (FD mode only) |
| bESI | set to send in recessive mode (FD mode only) |
| bRequest | message type: true for Request, false for Data |
| rstrData | CAN data |
◆ op()
| SPOptionFNetCANOp isys::CFNetCANCtrl::op |
( |
| ) |
|
Returns CAN Option controller used for setting operation.
- Returns
- COptionFNetCANOp
◆ op_qualifier_disable()
| void isys::CFNetIPCtrl::op_qualifier_disable |
( |
uint8_t | nFTrigDisable | ) |
|
|
inherited |
Disables the trigger.
- Parameters
-
| nFTrigDisable | set 0 for none, 1-10 inclusive for the specific trigger |
◆ op_qualifier_enable()
| void isys::CFNetIPCtrl::op_qualifier_enable |
( |
uint8_t | nFTrigEnable | ) |
|
|
inherited |
Enables the trigger.
- Parameters
-
| nFTrigEnable | set 0 for none, 1-10 inclusive for the specific trigger |
◆ op_qualifier_enable_on_start()
| void isys::CFNetIPCtrl::op_qualifier_enable_on_start |
( |
bool | bEnableFromStart | ) |
|
|
inherited |
Enables the trigger from start.
- Parameters
-
| bEnableFromStart | enable recording when it occurs |
◆ op_set_qualifier()
| void isys::CFNetIPCtrl::op_set_qualifier |
( |
bool | bEnableFromStart, |
|
|
uint8_t | nFTrigEnable, |
|
|
uint8_t | nFTrigDisable ) |
|
inherited |
- Parameters
-
| bEnableFromStart | recording is enabled at session start |
| nFTrigEnable | set 0 for none, 1-10 inclusive for the specific trigger |
| nFTrigDisable | set 0 for none, 1-10 inclusive for the specific trigger |