搜索资源列表
ADC
- 3.A/D程序设计与电路仿真 通过AD对外部电压进行AD采样,然后利用SPI接口对采样回来的数据进行显示,并将转换结果通过UART发给上位机进行显示。 首先设置需要显示的数组,使用PINSEL0、PINSEL1寄存器设置串口0的连接端口,使用IO0DIR设置74HC595的控制口,初始化串口0,使用U0LCR、U0DLM、U0DLL、U0LCR寄存器设置波特率,初始化SPI接口,设置SPI的时钟分频、接口模式。 其次对ADC模块进行设置,通过移位设置寄存器ADCR选择通道0,设置转换
SPI
- 5. SPI程序设计与电路仿真 SPI是全双工的同步串行接口,一根SPI总线可以连接多个主机和多个从机,但是在同一时刻只允许有一个主机操作总线。在数据传输过程中,主机总是向从机发送一个字节的数据,而从机也是总是向主机发送1个字节数据(主机通过MISO接收数据)。 定义74HC595片选端口,通过PINSEL0、PINSEL1寄存器设置SPI引脚接口,通过设置IO0DIR驱动74HC595的接口,初始化SPI接口,发送显示数据,片选清零寄存器,等待SPIF置位,等待数据发送完毕。使用whi
INT
- 8. 中断程序设计与电路仿真 LPC2138微控制器的中断管理是由向量中断控制器VIC操作的,向量中断控制器具有32个中断请求输入(32个中断通道,但LPC2138只使用了19个通道号0~18)可将它们设置为FIQ、向量IRQ和非向量IRQ,通过编程不同外设的向量IRQ的中断优先级,可以实现动态分配调整。 定义蜂鸣器的输出端口,运用寄存器PINSEL0、PINSEL1设置EINT3唤醒芯片,清除EINT3中断标志。运用while、if-else循环语句设置定时器、蜂鸣器。将定时器、RTC
STM32-UART
- STM32平台下的完全寄存器操作编程,精简详细,有注释说明。串口发送接收模块-STM32 platform entirely register operation programming, streamlined detailed, annotated. Serial receiver module
MPU-6050
- stm32 模拟IIC 读出mpu6050的六轴原始数据,串口显示-STM32 simulation of six axis IIC raw data read out of the mpu6050, serial display
11
- 串口测试程序,51单片机的,好用,需要请下载。-Serial testing procedures
IAPexample
- stm32串口IAP实验操作,有需要的可以下载-stm32 serial IAP experimental operation, there is a need to download
uasrt_dma_-receive
- 基于stm32的串口dma模式功能代码,收到数据,直接发送出去。-Based stm32 serial dma mode function code, data received directly sent.
STM32_SD_FATFS_LCD_TOUCH
- stm32 金牛开发板的 图形啊,触摸屏啊串口啊 做的一个小玩意,包括字库,sd卡-Taurus stm32 development board graphics ah , touch screen ah ah do a serial gadgets, including font , sd card etc.
picture
- 基于stm32的sd卡图片显示程序,采用spi进行读写,并用串口全程监控-Based stm32 the sd card picture display program, using spi read and write, and process monitoring with serial
STM32_USART
- stm32的串口通信,采用中断方式,协议响应事件采用结构体方式存储或发送。-stm32 serial communication, interrupt, agreements structured body responds to events stored or transmitted.
RTC
- STM8L使用串口在串口小助手上实时显示时钟。-STM8L assistant using the serial port on the serial real-time display clock.
UART
- STM8L151C8单片机的串口应用程序。-STM8L151C8 MCU serial applications.
UART_IT
- STM8L151C8单片机串口中断应用程序。-STM8L151C8 microcontroller serial port interrupt the application.
laser
- 基于stm32f103的激光测距源码,带OV7670摄像头驱动以及2.2寸串口TFT液晶驱动-stm32 laser ranging source with OV7670 camera driver and a 2.2-inch TFT LCD driver serial
USBCDC()
- 路虎开发板LPC1768官方一个USB虚拟串口例程,适合开发USB转串口线等应用-Land Rover LPC1768 development board official a USB virtual serial port routines, suitable for developing applications such as USB to serial cable
12864_msp430_serial
- 12864液晶的msp430程序,采用串行通信方式-12864 msp430 procedures, using serial communication
ad9850_serial
- AD9850测试程序,采用串行通信方式,单片机为51单片机-AD9850 test program, using the way of serial communication, microcontroller of 51 single chip microcomputer
STM8-microcontroller-applications
- STM8微处理器应用学习笔记,本节主要讲了如何使用串口进行数据的收发-STM8 microcontroller applications, study notes, this section is mainly about how to use the serial port to send and receive data
lcd12864c
- msp430g2553串口程序,已经测试,-Msp430g2553 serial procedures, has been testing, ~ ~ ~