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
+13
-6
@@ -2,12 +2,19 @@
|
||||
#include "mmr_can_util.h"
|
||||
|
||||
|
||||
/**
|
||||
* @brief
|
||||
* Initializes the filter using the values
|
||||
* from MMR_CAN_GetDefaultFilterSettings, and then
|
||||
* starts the CAN
|
||||
*/
|
||||
MmrCanTickProvider __mmr_can_tickProvider;
|
||||
|
||||
|
||||
void MMR_CAN_SetTickProvider(MmrCanTickProvider tickProvider) {
|
||||
__mmr_can_tickProvider = tickProvider;
|
||||
}
|
||||
|
||||
|
||||
uint32_t MMR_CAN_GetCurrentTick() {
|
||||
return __mmr_can_tickProvider();
|
||||
}
|
||||
|
||||
|
||||
HalStatus MMR_CAN_BasicSetupAndStart(CanHandle *hcan) {
|
||||
return
|
||||
MMR_CAN_FilterConfigDefault(hcan) |
|
||||
|
||||
Reference in New Issue
Block a user