【E1163】DS3231时钟模块的程序

2021-09-13 18:16:42      索炜达电子      517     

项目编号:E1163

文件大小:1.5M

源码说明:带中文注释

开发环境:C编译器

简要概述:

分享一个DS3231时钟模块的程序。 用的板子是mini板,直接将DS3231时钟模块的四根线接上就可以了。用的IIC模拟的方式驱动。最后通过串口打印,直接将时间打印到串口上。

【E1163】DS3231时钟模块的程序

目录│文件列表:

 └ DS3231时钟串口打印

    └ DS3231时钟串口打印

       │ keilkilll.bat

       ├ CORE

       │  │ core_cm3.c

       │  │ core_cm3.h

       │  │ startup_stm32f10x_hd.s

       │  └ startup_stm32f10x_md.s

       ├ HARDWARE

       │  ├ DS3231

       │  │  │ DS3231.c

       │  │  └ DS3231.h

       │  ├ IIC

       │  │  │ myiic.c

       │  │  └ myiic.h

       │  ├ KEY

       │  │  │ key.c

       │  │  │ key.h

       │  │  │ led.c

       │  │  └ led.h

       │  └ LED

       │     │ led.c

       │     └ led.h

       ├ OBJ

       │  │ core_cm3.crf

       │  │ core_cm3.d

       │  │ core_cm3.o

       │  │ delay.crf

       │  │ delay.d

       │  │ delay.o

       │  │ ds3231.crf

       │  │ ds3231.d

       │  │ ds3231.o

       │  │ led.crf

       │  │ led.d

       │  │ led.o

       │  │ main.crf

       │  │ main.d

       │  │ main.o

       │  │ misc.crf

       │  │ misc.d

       │  │ misc.o

       │  │ myiic.crf

       │  │ myiic.d

       │  │ myiic.o

       │  │ startup_stm32f10x_hd.d

       │  │ startup_stm32f10x_hd.o

       │  │ stm32f10x_gpio.crf

       │  │ stm32f10x_gpio.d

       │  │ stm32f10x_gpio.o

       │  │ stm32f10x_it.crf

       │  │ stm32f10x_it.d

       │  │ stm32f10x_it.o

       │  │ stm32f10x_rcc.crf

       │  │ stm32f10x_rcc.d

       │  │ stm32f10x_rcc.o

       │  │ stm32f10x_usart.crf

       │  │ stm32f10x_usart.d

       │  │ stm32f10x_usart.o

       │  │ sys.crf

       │  │ sys.d

       │  │ sys.o

       │  │ system_stm32f10x.crf

       │  │ system_stm32f10x.d

       │  │ system_stm32f10x.o

       │  │ USART.axf

       │  │ USART.build_log.htm

       │  │ usart.crf

       │  │ usart.d

       │  │ USART.hex

       │  │ USART.htm

       │  │ USART.lnp

       │  │ usart.o

       │  │ USART.sct

       │  └ USART_Target 1.dep

       ├ STM32F10x_FWLib

       │  ├ inc

       │  │  │ misc.h

       │  │  │ stm32f10x_adc.h

       │  │  │ stm32f10x_bkp.h

       │  │  │ stm32f10x_can.h

       │  │  │ stm32f10x_cec.h

       │  │  │ stm32f10x_crc.h

       │  │  │ stm32f10x_dac.h

       │  │  │ stm32f10x_dbgmcu.h

       │  │  │ stm32f10x_dma.h

       │  │  │ stm32f10x_exti.h

       │  │  │ stm32f10x_flash.h

       │  │  │ stm32f10x_fsmc.h

       │  │  │ stm32f10x_gpio.h

       │  │  │ stm32f10x_i2c.h

       │  │  │ stm32f10x_iwdg.h

       │  │  │ stm32f10x_pwr.h

       │  │  │ stm32f10x_rcc.h

       │  │  │ stm32f10x_rtc.h

       │  │  │ stm32f10x_sdio.h

       │  │  │ stm32f10x_spi.h

       │  │  │ stm32f10x_tim.h

       │  │  │ stm32f10x_usart.h

       │  │  └ stm32f10x_wwdg.h

       │  └ src

       │     │ misc.c

       │     │ stm32f10x_adc.c

       │     │ stm32f10x_bkp.c

       │     │ stm32f10x_can.c

       │     │ stm32f10x_cec.c

       │     │ stm32f10x_crc.c

       │     │ stm32f10x_dac.c

       │     │ stm32f10x_dbgmcu.c

       │     │ stm32f10x_dma.c

       │     │ stm32f10x_exti.c

       │     │ stm32f10x_flash.c

       │     │ stm32f10x_fsmc.c

       │     │ stm32f10x_gpio.c

       │     │ stm32f10x_i2c.c

       │     │ stm32f10x_iwdg.c

       │     │ stm32f10x_pwr.c

       │     │ stm32f10x_rcc.c

       │     │ stm32f10x_rtc.c

       │     │ stm32f10x_sdio.c

       │     │ stm32f10x_spi.c

       │     │ stm32f10x_tim.c

       │     │ stm32f10x_usart.c

       │     └ stm32f10x_wwdg.c

       ├ SYSTEM

       │  ├ delay

       │  │  │ delay.c

       │  │  └ delay.h

       │  ├ sys

       │  │  │ sys.c

       │  │  └ sys.h

       │  └ usart

       │     │ usart.c

       │     └ usart.h

       └ USER

          │ JLinkLog.txt

          │ JLinkSettings.ini

          │ main.c

          │ startup_stm32f10x_hd.lst

          │ stm32f10x.h

          │ stm32f10x_conf.h

          │ stm32f10x_it.c

          │ stm32f10x_it.h

          │ system_stm32f10x.c

          │ system_stm32f10x.h

          │ USART.map

          │ USART.uvgui.Administrator

          │ USART.uvguix.Administrator

          │ USART.uvopt

          │ USART.uvoptx

          │ USART.uvproj.saved_uv4

          └ USART.uvprojx

TAGDS3231
  • 4 次
  • 1 分