Scs (#3)
* Add send scs * Create scs dict * Fix compilation errors * Fix compile error * Change default include * Add Timer SCS manager * Remove unused files * Fix bugs * Add documentation * Add SCS manager bozza * Refactor * Use same naming convention * Add tick provider * Update header * Fix header bit translation * Test HandleNext OK * Remove linting * Remove indents * Add documentation * Improve docs * Remove pointer * Remove mailbox * Remove useless comment * Add newline * Fix compile errors * Separate scs entries from manager * Refactor * Fix include guards Co-authored-by: nicolagutierrez <nicolagutierrez.ng@gmail.com>
This commit was merged in pull request #3.
This commit is contained in:
committed by
GitHub
parent
7aa61ed9ad
commit
4d5c1934a4
@@ -1,3 +1,14 @@
|
||||
/**
|
||||
* @file mmr_can_events.h
|
||||
* @brief
|
||||
* This header provides a set of utilities for working
|
||||
* with interrupts.
|
||||
*
|
||||
* The recommended way of readings the CAN bus is
|
||||
* via polling, altought interrupt may be used for
|
||||
* monitoring critical messages.
|
||||
*/
|
||||
|
||||
#ifndef INC_MMR_CAN_EVENTS_H_
|
||||
#define INC_MMR_CAN_EVENTS_H_
|
||||
|
||||
@@ -14,6 +25,14 @@ typedef struct {
|
||||
#define MMR_CAN_CreateEventList(handlers) \
|
||||
(const MmrCanEventList) { handlers, sizeofarray(handlers) }
|
||||
|
||||
|
||||
/**
|
||||
* @brief
|
||||
* Activates the CAN rx interrupts
|
||||
*
|
||||
* When one is fired, the callbacks provided inside the
|
||||
* MmrCanEventList will be invoked
|
||||
*/
|
||||
HalStatus MMR_CAN_InitRxHandlers(CanHandle *hcan, const MmrCanEventList *rxEvents);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user