資源簡介
原理圖是cadence能打開,程序是IAR,希望能幫助到做低功耗開發的朋友。謝謝
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????Project/STM8L15x_StdPeriph_Template/stm8l15x_it.c
??*?@author??MCD?Application?Team
??*?@version?V1.5.0
??*?@date????13-May-2011
??*?@brief???Main?Interrupt?Service?Routines.
??*??????????This?file?provides?template?for?all?peripherals?interrupt?service?routine.
??******************************************************************************
??*?@attention
??*
??*?THE?PRESENT?FIRMWARE?WHICH?IS?FOR?GUIDANCE?ONLY?AIMS?AT?PROVIDING?CUSTOMERS
??*?WITH?CODING?INFORMATION?REGARDING?THEIR?PRODUCTS?IN?ORDER?FOR?THEM?TO?SAVE
??*?TIME.?AS?A?RESULT?STMICROELECTRONICS?SHALL?NOT?BE?HELD?LIABLE?FOR?ANY
??*?DIRECT?INDIRECT?OR?CONSEQUENTIAL?DAMAGES?WITH?RESPECT?TO?ANY?CLAIMS?ARISING
??*?FROM?THE?CONTENT?OF?SUCH?FIRMWARE?AND/OR?THE?USE?MADE?BY?CUSTOMERS?OF?THE
??*?CODING?INFORMATION?CONTAINED?HEREIN?IN?CONNECTION?WITH?THEIR?PRODUCTS.
??*
??*?©?COPYRIGHT?2011?STMicroelectronics
??******************************************************************************
??*/??
/*?Includes?------------------------------------------------------------------*/
#include?“stm8l15x_it.h“
unsigned?char?a;
/**?@addtogroup?STM8L15x_StdPeriph_Template
??*?@{
??*/
/*?Private?typedef?-----------------------------------------------------------*/
/*?Private?define?------------------------------------------------------------*/
/*?Private?macro?-------------------------------------------------------------*/
/*?Private?variables?---------------------------------------------------------*/
/*?Private?function?prototypes?-----------------------------------------------*/
/*?Private?functions?---------------------------------------------------------*/
/*?Public?functions?----------------------------------------------------------*/
#ifdef?_COSMIC_
/**
??*?@brief?Dummy?interrupt?routine
??*?@par?Parameters:
??*?None
??*?@retval?
??*?None
*/
INTERRUPT_HANDLER(NonHandledInterrupt0)
{
????/*?In?order?to?detect?unexpected?events?during?development
???????it?is?recommended?to?set?a?breakpoint?on?the?following?instruction.
????*/
}
#endif
/**
??*?@brief?TRAP?interrupt?routine
??*?@par?Parameters:
??*?None
??*?@retval?
??*?None
*/
INTERRUPT_HANDLER_TRAP(TRAP_IRQHandler)
{
????/*?In?order?to?detect?unexpected?events?during?development
???????it?is?recommended?to?set?a?breakpoint?on?the?following?instruction.
????*/
}
/**
??*?@brief?FLASH?Interrupt?routine.
??*?@param??None
??*?@retval?None
??*/
INTERRUPT_HANDLER(FLASH_IRQHandler1)
{
????/*?In?order?to?detect?unexpected?events?during?development
???????it?is?recommended?to?set?a?breakpoint?on?the?following?instruction.
????*/
}
/**
??*?@brief?DMA1?channel0?and?channel1?Interrupt?routine.
??*?@param??None
??*?@retval?None
??*/
INTERRUPT_HANDLER(DMA1_CHANNEL0_1_IRQHandler2)
{
????/*?In?order?to?detect?unexpected?events?during?development
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????132830??2018-03-06?10:18??send\CMSIS\stm8l15x.h
?????文件???????3312??2018-02-27?10:38??send\CMSIS\stm8l15x_conf.h
?????文件??????11921??2018-12-29?10:36??send\CMSIS\stm8l15x_it.c
?????文件???????4006??2018-01-31?16:57??send\CMSIS\stm8l15x_it.h
?????文件???????3540??2018-04-12?14:02??send\Components\DMA\Dma.c
?????文件????????635??2018-04-12?14:28??send\Components\DMA\Dma.h
?????文件???????1945??2018-04-12?14:02??send\Components\IWDG\IWDG.c
?????文件????????113??2018-03-27?14:12??send\Components\IWDG\IWDG.h
?????文件???????9131??2018-04-21?15:19??send\Components\LightSensor\LightSensor.c
?????文件???????1565??2018-04-12?15:17??send\Components\LightSensor\LightSensor.h
?????文件?????????22??2018-04-12?14:32??send\Components\sprintf\sprintf.c
?????文件????????139??2018-04-12?14:32??send\Components\sprintf\sprintf.h
?????文件??????30032??2018-04-23?10:16??send\Components\SX1278\SX1278.c
?????文件???????7749??2018-04-12?15:37??send\Components\SX1278\SX1278.h
?????文件??????10163??2018-04-18?15:00??send\Components\USART\USART.c
?????文件???????4016??2018-03-29?14:03??send\Components\USART\usart.h
?????文件????????434??2016-08-27?10:15??send\keilkill.bat
?????文件????????137??2018-04-12?15:48??send\READ?ME\read?me.txt
?????文件??????82432??2018-12-29?10:39??send\SENSORMDK.DSN
?????文件?????127488??2018-03-29?16:15??send\SENSORMDK_0.DBK
?????文件????????705??2018-03-05?15:31??send\SENSOR_MDK\Debug\Exe\Project.stp
?????文件???????8016??2018-12-29?10:36??send\SENSOR_MDK\Debug\Exe\SensorMdk.hex
?????文件??????11401??2018-03-05?15:23??send\SENSOR_MDK\Debug\Exe\SensorMdk.srec
?????文件?????182712??2018-12-29?10:36??send\SENSOR_MDK\Debug\Exe\templproj.out
?????文件????1165728??2018-12-29?10:36??send\SENSOR_MDK\Debug\Obj\SensorMdk.pbd
?????文件????1165728??2018-12-29?10:36??send\SENSOR_MDK\Debug\Obj\SensorMdk.pbd.browse
?????文件???????2426??2018-12-29?10:36??send\SENSOR_MDK\main.c
?????文件??????12636??2018-04-02?11:49??send\SENSOR_MDK\SensorMdk.ewd
?????文件??????47190??2018-12-29?10:28??send\SENSOR_MDK\SensorMdk.ewp
?????文件???????3144??2018-12-29?10:28??send\SENSOR_MDK\SensorMdk.ewt
............此處省略107個文件信息
- 上一篇:后臺登陸管理數據庫的增刪改查
- 下一篇:SX1278和STM8的程序
評論
共有 條評論