f1c100s/f1c200s主线uboot更改默认终端串口为uart1,使用参考博文:https://blog.csdn.net/p1279030826/article/details/113116927
2024/6/5 15:37:40 1KB f1c100s uboot
1
基于STM32的modbusRTU协议的12路继电器控制,12路开关量采集程序源代码,代码具有详细注释说明,通俗易懂,里面集成了01,02,03,04,05,06,15,16功能码,直接可用。
1
spi主机程序STM32CubeMx生成Hal库DMA发送接收intmain(void){/*USERCODEBEGIN1*//*USERCODEEND1*//*MCUConfiguration--------------------------------------------------------*//*Resetofallperipherals,InitializestheFlashinterfaceandtheSystick.*/HAL_Init();/*USERCODEBEGINInit*//*USERCODEENDInit*//*Configurethesystemclock*/SystemClock_Config();/*USERCODEBEGINSysInit*//*USERCODEENDSysInit*//*Initializeallconfiguredperipherals*/MX_GPIO_Init();MX_DMA_Init();MX_USART1_UART_Init();MX_SPI5_Init();/*USERCODEBEGIN2*/// HAL_UART_Receive_DMA(&huart1,rxBuffer,BUFFER_SIZE); /*USERCODEEND2*//*Infiniteloop*//*USERCODEBEGINWHILE*/while(1){ HAL_GPIO_WritePin(GPIOF,GPIO_PIN_6,GPIO_PIN_RESET); spi_tx[0]=6; spi_tx[1]=7; spi_tx[2]=8; spi_tx[3]=9; memset(spi_rx,0,BUFFER_SIZE); HAL_SPI_TransmitReceive_DMA(&hspi5,spi_tx,spi_rx,BUFFER_SIZE); HAL_GPIO_WritePin(GPIOF,GPIO_PIN_6,GPIO_PIN_SET); HAL_Delay(1000);/*USERCODEENDWHILE*//*USERCODEBEGIN3*/}/*USERCODEEND3*/}
2023/11/1 6:11:26 33.37MB spi DMA 主机 STM32CubeMX
1
此文件为WK2114UART1拓展4的驱动程序,基于STM32F2系列CPU,通过终端收发数据,测试通过可用。
2023/9/7 19:05:29 4KB wk2114 拓展芯片驱动
1
cc2530uart1串口初始化,并且通过串口中断接收,cc2530uart1串口初始化,并且通过串口中断接收
2023/8/21 1:20:41 881B cc2530 uart1接收
1
本代码(工程文件,可直接编译、烧写)基于stm32F103ZET6,开通串口2(uart2,使用正点原子的精英板V3,PA2/PA3两个串口均可正常工作,PA2/PA3在板子上没有集成串口调试硬件,在进行电脑调试时请使用PA9/PA10的进行验证或另配硬件)。
正常情况下网络上例程均只有一个串口被打开(即uart1),使用者在移植时只需要把uart2头文件与源文件add进自己的文件夹即可。
2023/6/2 6:05:28 3.4MB uart stm32 战舰V3 串口2
1
hi3516a上面的uart1口转rs485的uart1配置以及测试,经由验证可行hi3516a上面的uart1口转rs485的uart1配置以及测试,经由验证可行hi3516a上面的uart1口转rs485的uart1配置以及测试,经由验证可行
2023/3/30 14:31:04 3KB hi3516a rs485 uart1
1
LPC177x_8xCMSIS-CompliantStandardPeripheralFirmwareDriverLibraryRev1.17-12June2012ThisisthelistofexamplesthatsupportedinLPC177x_8xCMSISpackagePeripheralExampleDescriptionADCAdc_BurstShowshowtouseADCconversioninburstmodewithsingleormultipleinputAdc_DmaShowshowtouseADCconversionandtransferconverteddatabyusingDMAAdc_InterruptShowshowtouseADCconversionininterruptmode.Adc_PollingShowshowtouseADCconversioninpollingmode.BODBOD_DemoShowshowtouseBOD.CANCan_AflutShowshowtouseCANdriverfunctionsforsetupandchangeAFLUTtabledynamicallyCan_BypassShowshowtotestCANoperationbyusingbypassmodeCan_SelftestShowshowtotestCANself-testmodeCortex-M3Bit_BandingShowshowtouseBit-bandingfeatureofCortex-M3processor.MPUShowshowtouseMPUtoprotectmemoryregion.Privilege_ModeShowshowtochangeprivilegetounprivilegedmodeandviceversa.CRCCrc_DemoShowshowtouseCRCengineonLPC177x_8x.TheresultsarecalculatedbysomedifferentpolynomialsCrc_DmaShowshowtouseCRCenginewithDMAsupportDACDac_DmaShowshowtouseDMAtotransferdatatoDACperipheralDma_SineWaveShowshowtouseDACtogenerateasinewavesignalorpositive-halfsinewavesignalDMADma_Flash2RamShowhowtotransferdatafromFlashtoRa妹妹emorybyusingDMAengineEEPROMEeprom_DemohowtoworkwithEEPRO妹妹emoryonLPC177x_8xEMACEmac_EasyWebShowshowtoimplementansimplewebapplicationEmac_RawShowshowtotestEMACdriverwithrawpacketframeformatthatisnotrelatedwithanyupper-layer(i.e.TCP/IP...).Emac_uIPShowshowtohandleasinglenetworkinterfaceandcontainstheIP,ICMP,UDPandTCPprotocols.EMCEmc_NandFlashDemoShowshowtoworkwithNandFlash(ifavailable)byusingEMCcomponentofLPC177x_8xEmc_NorFlashDemoShowshowtoworkwithNorFlash(ifavailable)byusingEMCcomponentofLPC177x_8xEmc_SdramDemoShowshowtoworkwithSDRAM(ifavailable)byusingEMCcomponentofLPC177x_8xGPIOGpio_InterruptShowshowtouseinterruptfunctionofGPIOpins.Gpio_LedBlinkySetON/OFFfortheGPIOpinstodriveLEDsIAPIAP_DemoShowshowtoaccess/updateon-chipflashmemoryfromapplicationcodeI2CI2c_Pca9532DrvShowshowtouseI2CtodrivewithPCA9532andindicateviaLEDsthatconnectedtoPCAchipI2C_MasterShowshowtouseI2Cblockasamastertosend/receivedatato/fromaslave.I2C_SlaveShowshowtouseI2Cblockasaslavetosend/receivedatato/fromamaster.I2C_EEPROMShowshowtodriveEEPROMthroughI2C.I2SI2s_4WireShowshowtoconfigureI2Speripheraltorunin4wiremodeI2s_AudioShowshowtouseI2StotransferaudiodatathroughI2Spinstoplayashortmusicsoundandoutputtoheadphoneline.I2s_DmaShowshowtouseI2SwithDMAengineI2s_InterruptShowshowtouseI2StotransferdataininterruptmodeI2s_MclkShowshowtouseI2SmasterclockasI2SclocksourceLCDLcd_DemoShowshowtointeractwithGFT035A320240YLCDandQVGATFTLCD(ifit’savailable)MCIMci_CidCardShowshowtouseMultimediaCardInterface(MCI)onLPC177x_8xIC.Basicallyit’storeadCIDofthecardthatinputtothecardslot.MCI_ReadWriteShowshowtouseMCIonLPC177x_8xtoread/writedataonaSD/妹妹Ccard.MCI_FSShowshowtointegrateFatFSandEFSLopensourcetouseFATFileSystemonLPC177x_8x.MCPW妹妹CPWMSimpleShowshowtotestMotorControlPW妹妹oduleinLPC17xxNVICNvic_PrioritiesShowshowtoconfigureNVICprioritygroupingfortestingtheinterruptsintail-chainingandLate-arrivingmodeNvic_VectorTableRelocationShowshowtorelocationvectortableinanothersiteinRAMPWMPwm_DualEdgeShowshowtogeneratePWMsignalon3Channelsinbothedgemodeandsinglemode.Pwm_MatchInterruptShowshowtousePW妹妹atchfunctionininterruptmodePwm_SingleEdgeShowshowtousePWMsignalon6ChannelsinsingleedgemodePWRPwr_DeepPowerDownShowshowtoentersysteminDeepPowerDownmodeandwake-upbyusingRTC(Real-timeclock)interruptPwr_DeepSleepShowshowtoentersysteminDeepSleepmodeandwakeupitbyusingWDTInterruptPwr_PowerDownShowshowtoentersysteminPowerDownmodeandwake-upitbyusingNMI(Non-MaskableInterrupt)Pwr_SleepShowshowtoentersysteminsleepmodeandwake-upbyusingexternalinterruptQEIQei_VeloShowshowtouseQuadratureEncoderInterfacemoduletocalculatevelocityanddetectdirectionchangingRTCRtc_AlarmShowstheconfigurationstogenerateinterruptinSecondCounterIncrementInterrupt(1s)andgenerateAlarminterruptat10sRtc_CalibrationShowshowtodoreal-timeclockcalibration.Rtc_EvShowshowtodoeventmonitor/recorder.SSPSsp_DmaShowshowtoconfigureSSPperipheralwithDMAsupport.SSP_MasterShowshowtouseSSPblockasamastertosend/receivedatato/fromaslave.SSP_SlaveShowshowtouseSSPblockasaslavetosend/receivedatato/fromamaster.SSP_MicrowireShowshowtouseSSPperipheralwithMicroWireframeformat.SSP_TIShowshowtouseSSPperipheralwithTIframeformat.SYSTICKSystick_10msBaseShowshowtoconfigureSystemTicktimertogenerateinterrupteach10msSystck_StclkShowshowtoconfigureSystemTicktimeruseexternalclocksourceSTCLKTIMERTimer_CaptureShowshowtouseCaptureTimerfunction.Timer_FreqMeasureShowshowtouseTimertomeasurethefrequencyofthesignalinputTimer_MatchInterruptShowshowtoconfiguretheTimertogenerateMatchinterrupt.UARTUart_AutobaudThisisasimpleUARTexampleusingautobaudratemodeUart_DmaShowshowtouseUARTinDMAmodeUart_FullModemThisisasimpleUARTexampleusingUART1willFullmode妹妹odeUart_HWFlowControlShowshowtouseUARTinhardwareflowcontrolmode.Uart_InterruptShowshowtouseUARTininterruptmodeUart_IrDAReceiveShowshowtoconfigureUARTforreceivingdataviaIrDAprotocolUart_IrDATransmitShowshowtoconfigureUARTfortransmittingdataviaIrDAprotocolUart_PollingShowshowtouseUARTinpollingmodeUart_Rs485MasterShowshowtoconfigureUARTforRS485functionalityinMastermode.Uart_Rs485SlaveShowshowtoconfigureUARTforRS485functionalityinSlavemode.USBDEVUSBMassStorageShowshowtoimplementasimpleUSBMassStorageapplicationonLPC177x_8x.USB_AudioShowshowtoimplementUSBspeakeronLPCD177x_8x.USB_HIDShowshowtoimplementHIDdeviceonLPCD177x_8x.Usb_VirtualComShowshowtoconfigureUSBDeviceofasavirtualCOMport.USBHostLiteUsbHost_MassStorageShowshowtoconfigureUSBHostControlleronLPC177x_8x.WDTWdt_InterruptShowshowtouseWDTtogenerateinterruptafteraspecifictime.Wdt_ResetShowshowtouseWDTtogeneratechipresetafteraspecifictime.Wdt_WindowModeTesttheoperationofWindowModeofWindowWatchdogTimeronLPC177x_8x
2023/3/12 4:45:20 58.32MB LPC177x LPC178x CMSIS driver
1
此文件为WK2114UART1拓展4的驱动程序,基于STM32F2系列CPU,经过终端收发数据,测试经过可用。
2015/1/3 19:40:48 4KB WK2114 UART STM32F2
1
STUSB标准库:STM32_USB-FS-Device_Lib_V4.1.0芯片:STM32F103RC端点运用:HID收发:EP1VCP收发:EP3,EP4串口:UART1PA9-TXPA10-RXUSBD+控制端口,可控,实际测试时,保持上拉也能正常识别。
程序自用,可以支持量产。
1
共 12 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡