登录
首页 » 嵌入式系统 » STM32F103 C文件

STM32F103 C文件

于 2022-08-14 发布 文件大小:4.33 kB
0 267
下载积分: 2 下载次数: 1

代码说明:

应用背景i2c2_ev_irqhandler虚空(void){无符号长last_event挥发性; ; ;last_event = i2c_getlastevent(i2c2);(如果写标志){开关(最后一个事件){/ * * / EV5  ;/ *((uint32_t)0x00030001) ;忙,MSL和某人旗* /案例i2c_event_master_mode_select: ; ; ; ; ; ; ; ; ;/ * * /主发射机----------------------------------------------/ * * * * * * * * * * * * * * * * * * *i2c_send7bitaddress(i2c2,命令,i2c_direction_transmitter);和公司;及;休息;休息;/ * * /主发射机--------------------------------------------------/ *测试i2c2 EV6和第一EV8清晰* // * * / / *(EV6(uint32_t)0x00070082) ;忙,MSL,地址,TXE和TRA标志* / ; ;案例i2c_event_master_transmitter_mode_selected:i2c_senddata(i2c2,high_add);字节数——;打破;/ *测试i2c2 EV8和清除它* // * * / / *(EV8(uint32_t)0x00070080) ;TRA,忙,MSL,TXE标志* / ; ;案例i2c_event_master_byte_transmitting:如果(byte_number = = 2){i2c_senddata(i2c2,low_add);字节数——;}打破;/ * * / / *(ev8_2(uint32_t)0x00070084) ;TRA,忙,MSL,TXE和BTF标志* /案例I2C主事件字节的传输:如果(byte_number = = 0){i2c_generatestop(i2c2,

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ATmega16 超声波测距
    超声波模块HC-SR04,MCU ATmega16,不是通过中断实现。MCU先发一个使能信号,然后检测回波信号高电平的时间,通过串口显示。实际测试精确度很高。
    2023-05-11 07:20:03下载
    积分:1
  • 12*12点阵汉字库,做LCD汉字显示必备
    12*12点阵汉字库,做LCD汉字显示必备-Lattice Store, the Chinese character LCD display so essential
    2022-08-23 07:11:16下载
    积分:1
  • DTMF 发生器
    DTMF 发生器。我们用这个来发电机 dtmf 音开 FM 收音机。当你想要控制其他从远程设备是有用的。您可以使用此为许多目的。 当然,你必须设计您自己的设备以从这接收命令。
    2022-02-03 00:50:41下载
    积分:1
  • 可以用H.264编码解码器源码(c语言)
    可以用H.264编码解码器源码(c语言)-can use H.264 codec source (c language). -Can use H.264 codec source code (c language)-can use H.264 codec source (c language).
    2023-07-11 03:20:03下载
    积分:1
  • 学生管理,记录学生的各种信息。方便管理。
    学生管理系统,记录学生的各种信息。方便管理。-Student management system to record all kinds of information the students. Easy to manage.
    2023-04-16 18:50:04下载
    积分:1
  • (ebook-pdf)-TrollTec
    (ebook_-_pdf)_-_TrollTech_-_QT_Tutorial_(en_US).pdf
    2023-07-24 07:30:03下载
    积分:1
  • Xilinx IIC IP
    由 Xilinx 提供的 IIC 接口,使用 AXI interface。 Features ‧ AXI interface is based on the AXI4-Lite interface ‧ Master or slave operation ‧ Multi-master operation ‧ Software selectable acknowledge bit ‧ Arbitration lost interrupt with automatic mode switching from master to slave ‧ Calling address identification interrupt with automatic mode switching from master to slave ‧ START and STOP signal generation and detection ‧ Repeated START signal generation ‧ Acknowledge bit generation and detection ‧ Bus busy detec ‧ Fast mode 400 KHz operation or standard mode 100 KHz ‧ 7-bit or 10-bit addressing ‧ General call enable or disable ‧ Transmit and receive FIFOs - 16 bytes deep ‧ Throttling ‧ General purpose output, 1 bit to 8 bits wide ‧ Dynamic Start and Stop generation ‧ Filtering on the SCL and SDA signals to eliminate spurious pulses
    2023-09-07 01:15:03下载
    积分:1
  • 在TMS320LF2407A的PWM产生正弦调制
    正弦调制PWM代TMS320LF2407A。驱动永磁同步电机单相电机。变频驱动器(VFD)
    2022-08-08 09:12:19下载
    积分:1
  • Cypress公司的USB芯片开发资料,提供USB芯片驱动程序,对开发USB的应用有很大帮助...
    Cypress公司的USB芯片开发资料,提供USB芯片驱动程序,对开发USB的嵌入式应用有很大帮助-Cypress"s USB chip development information, providing USB chip driver for the development of embedded applications USB be of great help
    2022-03-23 13:59:38下载
    积分:1
  • arm7仿真文件,很好的 arm7仿真文件,很好的 arm7仿真文件,很好的 arm7仿真文件,很好的...
    arm7仿真文件,很好的 arm7仿真文件,很好的 arm7仿真文件,很好的 arm7仿真文件,很好的-ARM7 simulation files, a good simulation of the ARM7 documents, a good simulation of the ARM7 documents, a good simulation of the ARM7 documents, a good simulation of the ARM7 documents, good
    2022-10-01 19:40:03下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载