|
AGHAF 4.5.7
Annecy electronique Generic Hardware Access Framework
|
Go to the source code of this file.
| typedef void * | AGHAF_DoKLine_Channel |
| handle on a DoKLine channel | |
| AGHAF_Status | AGHAF_DoKLine_Channel_getParam (AGHAF_DoKLine_Channel channel, AGHAF_DoKLine_ChannelParam param, uint32_t *value) |
| Provide the value from a channel parameter. | |
| AGHAF_Status | AGHAF_DoKLine_Channel_send (AGHAF_DoKLine_Channel channel, uint8_t flags, uint32_t dataLen, uint8_t const *data) |
| Send on the DoKLine channel in parameter. | |
| AGHAF_Status | AGHAF_DoKLine_Channel_setParam (AGHAF_DoKLine_Channel channel, AGHAF_DoKLine_ChannelParam param, uint32_t value) |
| Set the parameter from a channel. | |
| AGHAF_Status | AGHAF_DoKLine_Channel_start (AGHAF_DoKLine_Channel channel) |
| Start a channel. | |
| AGHAF_Status | AGHAF_DoKLine_Channel_stop (AGHAF_DoKLine_Channel channel) |
| Stop a channel. | |
| AGHAF_DoKLine_Channel | AGHAF_DoKLine_createChannel (AGHAF_KLine kline) |
| Create a channel. | |
| AGHAF_Status | AGHAF_DoKLine_getChannelCount (AGHAF_KLine kline, uint8_t *count) |
| Provide the number of channels available on the bus. | |
| AGHAF_Status | AGHAF_DoKLine_getFreeChannelCount (AGHAF_KLine kline, uint8_t *count) |
| Return the number of free channels still available. | |
| typedef void(* | AGHAF_DoKLine_onMsgRx) (uint64_t timestamp, uint8_t flags, uint32_t headerSize, uint8_t const *header, uint32_t footerSize, uint8_t const *footer, uint32_t dataLen, uint8_t const *data, void *userContext) |
| callback called when a frame is received on a DoKLine channel | |
| typedef void(* | AGHAF_DoKLine_onMsgTx) (uint64_t timestamp, uint8_t flags, uint32_t headerSize, uint8_t const *header, uint32_t footerSize, uint8_t const *footer, uint32_t dataLen, uint8_t const *data, void *userContext) |
| callback called when a frame is transmitted on a DoKLine channel | |
| typedef void(* | AGHAF_DoKLine_onMsgTxErr) (uint64_t timestamp, AGHAF_DoKLine_Error error, void *userContext) |
| callback called when a transmission errors happens on a DoKLine channel | |
| void | AGHAF_DoKLine_releaseChannel (AGHAF_DoKLine_Channel channel) |
| Release the channel. | |
| void | AGHAF_DoKLine_setOnMsgRxCallback (AGHAF_DoKLine_Channel channel, AGHAF_DoKLine_onMsgRx callback, void *userContext) |
| set the callback on a reception event | |
| void | AGHAF_DoKLine_setOnMsgTxCallback (AGHAF_DoKLine_Channel channel, AGHAF_DoKLine_onMsgTx callback, void *userContext) |
| set the callback on a transmission event | |
| void | AGHAF_DoKLine_setOnMsgTxErrCallback (AGHAF_DoKLine_Channel channel, AGHAF_DoKLine_onMsgTxErr callback, void *userContext) |
| set the callback a transmission error event | |