This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern "C" { void DMA1_Channel5_IRQHandler(void); } | |
#include "MagneticSensorAS5048.h" | |
#include "stm32g4xx_ll_dma.h" | |
#include "stm32g4xx_ll_bus.h" | |
#define M1_ENCODER_CS_Pin LL_GPIO_PIN_8 | |
#define M1_ENCODER_CS_GPIO_Port GPIOB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) | |
BaseType_t FreeRTOS_CLIRegisterCommand( const CLI_Command_Definition_t * const pxCommandToRegister ) | |
#else | |
BaseType_t FreeRTOS_CLIRegisterCommand( const CLI_Command_Definition_t * const pxCommandToRegister, CLI_Definition_List_Item_t *pxNewListItem ) | |
#endif | |
{ | |
static CLI_Definition_List_Item_t *pxLastCommandInList = &xRegisteredCommands; | |
#if ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) | |
CLI_Definition_List_Item_t *pxNewListItem; | |
#endif |