User Activity

hi I would like to know what does the f means in both 1000.0f and 2000.f ? anyone can kindly advise? ScalingFactor = 1000.0f/32768.0f; ScalingFactor = 2000.0f/32768.0f; 
hi come across these code using register programing, STM32F411 Nucleo bd, anyone can advise how does the (AF07<<4) and (AF07<<8) relate to UART2 PA2 & PA3? please advise..  #define AF07 0x07 GPIOA->AFR[1]|=(AF07<<4)|(AF07<<8); //ALT7 for UART2...
Hi I m using SPI to transmit and receive data from a sensor, the sensor return 3 bytes of data, SensorRXBuff[0], SensorRXBuff[1],  and SensorRXBuff[2], i m gona use these 3 byte for indivual computation, i enclosed the function below, could anyone ad...
Hi I m using SPI DMA on H7 series, and notice under SPIx_TX and SPIx_RX there are at least 14 DMA channels to choose from, i.e DMA1 Stream 0-7 and DMA2 0-7. Can i select these "channel"  randomly or is there a reference manual that state otherwise? L...
Hi I come across an ADC code as below, could anyone advise whats the meaning of pointer *h in the function argument and whats (h = &hadc1) do inside the callback function ?main(void){ HAL_ADC_Start_IT(&hadc1); ... while (1) { if (adc_valid ...