Skip to content

Instantly share code, notes, and snippets.

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
#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