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
STM32F103C8T6+FreeRTOS+Keil5代码(亲测完满),3路USART,4路LED,一个阀门驱动,一个EEProm,两路ADC
2023/3/9 1:28:49 9.31MB STM32F103
1
基于STM32F103R8的PID算法例程,完整工程源码,PWM输出控制信号,ADC输入反馈信号,构成闭环控制。
2023/2/20 21:04:06 782KB STM32 PID
1
stm32f207ADC测试程序,外面有adc以及dma的设置
2023/2/17 19:05:49 6.6MB STM32F2 ADC
1
接纳STC12C5A60S2自带ADC采集电压信号+DS18B20温度传感器+LCD1602液晶显示,电压显示效果精确到小数点后两位,温度显示精度精确到0.5.两行并排显示,电压可以测量8路。
2023/2/17 9:23:44 477KB 测量温度电压
1
cubeMX+keil5开发stm32f103c8t6的单ADC多通道采集并串口打印的完好代码,包括cubeMX的工程,keil5工程也可使用cubeIDE打开。
2023/2/12 18:03:27 23.14MB stm32
1
选择正点原子STM32单片机,利用NRF24L01模块进行无线传输,在单片机中进行ADC转换,以及比较最大最小值并显示出来,最初在LCD显示屏上显示探测出的温度示数并显示图像。
2023/2/9 13:20:37 3.85MB stm32  无线数据传输 ADC
1
PIC16F151X和PIC16LF151X器件:高功能RISCCPU:•优化的C编译器架构•仅需学习49条指令•可寻址最大28KB的线性程序存储空间•可寻址最大1024字节的线性数据存储空间•工作速度:-DC–20MHz时钟输入(2.5V时)-DC–16MHz时钟输入(1.8V时)-DC–200ns指令周期•带有自动现场保护的中断功能•带有可选上溢/下溢复位的16级深硬件堆栈•直接、间接和相对寻址模式:-两个完全16位文件选择寄存器(FileSelectRegister,FSR)-FSR可以读取程序和数据存储器灵活的振荡器结构:•16MHz内部振荡器模块:-可通过软件选择频率范围:31kHz至16MHz•31kHz低功耗内部振荡器•外部振荡器模块具有:-4种晶振/谐振器模式,频率最高为20MHz-3种外部时钟模式,频率最高为20MHz•故障保护时钟监视器(Fail-SafeClockMonitor,FSCM)-当外设时钟停止时可使器件安全关闭•双速振荡器启动•振荡器起振定时器(OscillatorStart-upTimer,OST)模拟特性:•模数转换器(Analog-to-DigitalConverter,ADC):-10位分辨率-最多28路通道-自动采集功能-可在休眠模式下进行转换•参考电压模块:-具有1.024V、2.048V和4.096V输出的固定参考电压(FixedVoltageReference,FVR)•温度指示器采用nanoWattXLP的超低功耗管理PIC16LF151X:•休眠模式:20nA(1.8V时,典型值)•看门狗定时器:300nA(1.8V时,典型值)•辅助振荡器:600nA(32kHz时)单片机特性:•工作电压范围:-2.3V-5.5V(PIC16F151X)-1.8V-3.6V(PIC16LF151X)•可在软件控制下自编程•上电复位(Power-onReset,POR)•上电延时定时器(Power-upTimer,PWRT)•可编程低功耗欠压复位(Low-PowerBrown-OutReset,LPBOR)•扩展型看门狗定时器(WatchdogTimer,WDT)•通过两个引脚进行在线串行编程(In-CircuitSerialProgramming™,ICSP™)•通过两个引脚进行在线调试(In-CircuitDebug,ICD)•增强型低电压编程(Low-VoltageProgramming,LVP)•可编程代码保护•低功耗休眠模式•低功耗BOR(LPBOR)外设特点:•最多35个I/O引脚和1个仅用作输入的引脚:-高灌/拉电流:25mA/25mA-可单独编程的弱上拉-可单独编程的电平变化中断(Interrupt-On-Change,IOC)引脚•Timer0:带有8位预分频器的8位定时器/计数器•增强型Timer1:-带有预分频器的16位定时器/计数器-外部门控输入模式-低功耗32kHz辅助振荡器驱动器•Timer2:带有8位周期寄存器、预分频器和后分频器的8位定时器/计数器•两个捕捉/比较/PWM(Capture/Compare/PWM,CCP)模块:•带有SPI和I2CTM的主同步串行口(MasterSynchronousSerialPort,MSSP):-7位地址掩码-兼容SMBus/PMBusTM•增强型通用同步/异步收发器(EnhancedUniversalSynchronousAsynchronousReceiverTransmitter,EUSART)模块:-兼容RS-232、RS-485和LIN-自动波特率检测-接收到启动位时自动唤醒
2023/2/9 10:11:05 5.76MB PIC16F1516 PIC16F1517 PIC16F1518 PIC16F1519
1
WM8978是一个低功耗、高质量的立体声多媒体数字信号编译码器。
它主要应用于便携式应用,比如数码照相机、可携式数码摄像机。
它结合了立体声差分麦克风的前置放大与扬声器、耳机和差分、立体声线输出的驱动,减少了应用时必需的外部组件,比如不需要单独的麦克风或者耳机的放大器。
高级的片上数字信号处理功能,包含一个5路均衡功能,一个用于ADC和麦克风或者线路输入之间的混合信号的电平自动控制功能,一个纯粹的录音或者重放的数字限幅功能。
另外在ADC的线路上提供了一个数字滤波的功能,可以更好的应用滤波,比如“减少风噪声”。
WM8978可以被应用为一个主机或者一个从机。
基于共同的参考时钟频率,比如12MHz和13MHz,内部的PLL可以为编译码器提供所有需要的音频时钟。
WM8978工作在模拟电源电压2.5V到3.3V,虽然它的数字核心部分为了节省电能可以把工作电压下降到1.62V。
如果需要增大输出功率,扬声器和OUT3/4线输出可以在5V电源运行。
芯片的个别部分也可以通过软件进行断电控制。
2023/2/8 10:57:21 2.99MB 数据手册 wm8978 中文
1
共 290 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡