Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change result for can transmit and receive #61

Open
mariuscrsn opened this issue Jun 16, 2023 · 0 comments · Fixed by #63
Open

Change result for can transmit and receive #61

mariuscrsn opened this issue Jun 16, 2023 · 0 comments · Fixed by #63
Assignees
Labels
enhancement New feature or request

Comments

@mariuscrsn
Copy link
Member

CAN should return an HAL_CAN_RESULT_BUSY if the tx queue is full.
CAN should return an HAL_CAN_RESULT_NO_MSG if the rx queue is empty, no messages received.

HAL_CAN_result_e HAL_CanTransmit (const uint32_t id, const uint8_t* data, const uint8_t size);

HAL_CAN_result_e HAL_CanReceive (uint32_t* id, uint8_t* data, uint8_t* size);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants