问答

汇集网友智慧,解决技术难题

xsq21dz

TA的家园币:171  

  • stm32cubemx中freertosV10.0.1与cmsis_v2配合是否有问题

    在cmsis_os2.c中有:#ifdefined(SysTick)/*FreeRTOSticktimerinterrupthandlerprototype*/externvoidxPortSysTickHandler(void);/*SysTickhandlerimplementationthatalsoclearsoverflowflag.*/voidSysTick_Handler(void){/*Clearoverflowflag*/SysTick->CTRL;/*Calltickhandler*/xPortSysTickHandler();}#endif/*SysTick*/在FreeRTOSConfig.h有#definexPortSysTickHandlerSysTick_Handler在port.cvoidxPortSysTickHandler(void){/*TheSysTickrunsatthelowestinterruptpriority,sowhenthisinterruptexecutesallinterruptsmustbeunmasked.Thereisthereforenoneedtosaveandthenrestoretheinterruptmaskvalueasitsvalueisalreadyknown.*/portDISABLE_INTERRUPTS();{/*IncrementtheRTOStick.*/if(xTaskIncrementTick()!=pdFALSE){/*Acontextswitchisrequired.ContextswitchingisperformedinthePendSVinterrupt.PendthePendSVinterrupt.*/portNVIC_INT_CTRL_REG=portNVIC_PENDSVSET_BIT;}}portENABLE_INTERRUPTS();}

    FreeRTOSv STM32CubeMX TI ic TE ck

    2021-06-03 0
  • stm32f303cct6中Vbat内部两个电阻是50k,有范围值吗

    Table80.VBATmonitoringcharacteristicsSymbolParameterMinTypMaxUnitRResistorbridgeforVBAT-50-KΩQRatioonVBATmeasurement-2-Er(1)ErroronQ-1-+1%TS_vbat(1)(2)ADCsamplingtimewhenreadingtheVBAT1mVaccuracy2.2--µs1.Guaranteedbydesign.2.Shortestsamplingtimecanbedeterminedintheapplicationbymultipleiterations.

    BAT 电阻 STM32F303 TI TE IO

    2021-03-30 1