資源簡(jiǎn)介
該代碼是可以使用,不用做任何修改,這個(gè)只是SX1278的配置和操作代碼。
代碼片段和文件信息
/**
??******************************************************************************
??*?@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
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????132830??2018-03-06?10:18??SX1278code\CMSIS\stm8l15x.h
?????文件???????3312??2018-02-27?10:38??SX1278code\CMSIS\stm8l15x_conf.h
?????文件??????11921??2018-12-29?10:36??SX1278code\CMSIS\stm8l15x_it.c
?????文件???????4006??2018-01-31?16:57??SX1278code\CMSIS\stm8l15x_it.h
?????文件???????3540??2018-04-12?14:02??SX1278code\Components\DMA\Dma.c
?????文件????????635??2018-04-12?14:28??SX1278code\Components\DMA\Dma.h
?????文件???????1945??2018-04-12?14:02??SX1278code\Components\IWDG\IWDG.c
?????文件????????113??2018-03-27?14:12??SX1278code\Components\IWDG\IWDG.h
?????文件???????9131??2018-04-21?15:19??SX1278code\Components\LightSensor\LightSensor.c
?????文件???????1565??2018-04-12?15:17??SX1278code\Components\LightSensor\LightSensor.h
?????文件?????????22??2018-04-12?14:32??SX1278code\Components\sprintf\sprintf.c
?????文件????????139??2018-04-12?14:32??SX1278code\Components\sprintf\sprintf.h
?????文件??????30032??2018-04-23?10:16??SX1278code\Components\SX1278\SX1278.c
?????文件???????7749??2018-04-12?15:37??SX1278code\Components\SX1278\SX1278.h
?????文件??????10163??2018-04-18?15:00??SX1278code\Components\USART\USART.c
?????文件???????4016??2018-03-29?14:03??SX1278code\Components\USART\usart.h
?????文件????????434??2016-08-27?10:15??SX1278code\keilkill.bat
?????文件????????137??2018-04-12?15:48??SX1278code\READ?ME\read?me.txt
?????文件????????705??2018-03-05?15:31??SX1278code\SENSOR_MDK\Debug\Exe\Project.stp
?????文件???????8016??2018-12-29?10:36??SX1278code\SENSOR_MDK\Debug\Exe\SensorMdk.hex
?????文件??????11401??2018-03-05?15:23??SX1278code\SENSOR_MDK\Debug\Exe\SensorMdk.srec
?????文件?????182712??2018-12-29?10:36??SX1278code\SENSOR_MDK\Debug\Exe\templproj.out
?????文件????1165728??2018-12-29?10:36??SX1278code\SENSOR_MDK\Debug\Obj\SensorMdk.pbd
?????文件????1165728??2018-12-29?10:36??SX1278code\SENSOR_MDK\Debug\Obj\SensorMdk.pbd.browse
?????文件???????2426??2018-12-29?10:36??SX1278code\SENSOR_MDK\main.c
?????文件??????12636??2018-04-02?11:49??SX1278code\SENSOR_MDK\SensorMdk.ewd
?????文件??????47190??2018-12-29?10:28??SX1278code\SENSOR_MDK\SensorMdk.ewp
?????文件???????3144??2018-12-29?10:28??SX1278code\SENSOR_MDK\SensorMdk.ewt
?????文件????????163??2018-03-05?15:13??SX1278code\SENSOR_MDK\SensorMdk.eww
?????文件???????8664??2018-12-29?10:37??SX1278code\SENSOR_MDK\settings\SensorMdk.dbgdt
............此處省略105個(gè)文件信息
評(píng)論
共有 條評(píng)論