#include"led.h"#include"delay.h"#include"key.h"#include"sys.h"#include"usart.h" #include"adc.h"/************************************************ALIENTEK战舰STM32F103开拓板试验17ADC试验本领反对于:www.openedv.com淘宝店肆:http://eboard.taobao.com存眷微信人民平台微信号:"晚点原子",免费患上到STM32资料。
广州市星翼电子科技有限公司作者:晚点原子@ALIENTEK************************************************/intmain(void){ u16adcx; floattemp; delay_init(); //延时函数初始化 NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);//配置中断优先级分组为组2:2位抢占优先级,2位照料优先级 uart_init(115200); //串口初始化为115200 Adc_Init(); //ADC初始化 while(1) { adcx=Get_Adc_Average(ADC_Channel_1,10); temp=(float)adcx*(3.3/4096); delay_ms(250); printf("%5.2f",temp); }}
2023/4/9 23:55:30 6.94MB STM32 ADC
1
搜罗IAP.c以及IAP.h;
IAP串口初始化函数;
串口中断函数;
IAP轮回main函数(可参考);
IAP跳转使用法度圭表标准段函数;
更新用户法度圭表标准,写入FLASH函数;
STM32L4xx系列,STM32L452RET6调试告成,LL库配置配备枚举;
2019/11/20前期调了STM32L471VETx芯片,发现擦页不能用,最终找到下场是FLASH页码不连号,只用更正擦页函数的页码号就能够告成擦页,就再也不上传了;
2023/3/26 15:02:01 3KB STM32L4xx IAP UART FLASH
1
用keil开辟的例程内含有:8IOS,ADC,CLK_OUT,DS18B20,GPIO_LED,GPIO_LED_JOYSTICK,I2C,LCD,LCD_TouchPanel,Microsd,PWM,SPI,UART
2023/3/18 22:19:22 1.22MB m0 1114 arm
1
单片机51读取GPSNMEA0183格式及解析;
uart.h,uart.c串口中断程序;
gps.c,gps.h读取GPSNMEA数据及解析位置,时间,和卫星形态。
主要包括了GGA和RMC数据读取及解析;
时区调整。
采用的是upsd3300单片机(51系列);
2023/3/17 6:25:46 6KB GPS NMEA
1
ccs以及IAR版的例程代码。
ADC,DAC,UART,TIMER.。
ccs以及IAR版的例程代码。
ADC,DAC,UART,TIMER
2023/3/12 7:28:31 465KB G2553例程
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
STMicroelectronics针对Cube(HAL)提供的经过URART/UART实现IAP,适用于STM32系列MCU,无需再设置BOOT引脚,仅需一个GPIO设置POR后执行IAP还是APP,分享给坛友,该程序包也可从ST官网(http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1920/PF262163#)下载获得。
同时附带该程序包的APP.Note文档,【STM32Cubein-applicationprogrammingusingtheUSARTembeddedsoftware(AN4657)】。
2023/2/22 8:04:54 39.23MB STM32 HAL IAP
1
FT232RLUSB转UART-RS232-RS485AD设计硬件原理图+PCB+2D3D封装库文件,,采用2层板设计,板子大小为81x50mm,单面规划双面布线,主要器件为FT232RL,SP213,SP3485EN,实现USB转RS232,RS485,RS422三种接口功能。
AltiumDesigner设计的工程文件,包括完整的原理图PCB文件,可以用Altium(AD)软件打开或修改,可作为你产品设计的参考。
1
本人写的ARM(s3c2440)的裸板的声卡(wm8976)驱动程序,包括时钟,sdram,uart,nandflash的初始化,播放之前需要使用u-boot将wav音频文件写入nandflash,非常富有挑战性的一个程序。
2023/2/18 13:58:01 725KB wm8976 裸板 声卡 ARM
1
配合本人所写FPGA教学系列文章运用,具体参考UART系列第二篇
2023/2/12 1:49:15 4KB verilog uart fpga 串口通信
1
共 173 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡