資源簡介
基于STM32F0系列讀取BQ40Z50代碼,已調試成功,本代碼利用STM32F030模擬SMBUS協議讀取BQ40Z50芯片中的內容

代碼片段和文件信息
/**
??******************************************************************************
??*?@file????EXTI/stm32f0xx_it.c?
??*?@author??MCD?Application?Team
??*?@version?V1.0.1
??*?@date????11-October-2013
??*?@brief???Main?Interrupt?Service?Routines.
??*??????????This?file?provides?template?for?all?exceptions?handler?and?
??*??????????peripherals?interrupt?service?routine.
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT?2013?STMicroelectronics
??*
??*?Licensed?under?MCD-ST?Liberty?SW?License?Agreement?V2?(the?“License“);
??*?You?may?not?use?this?file?except?in?compliance?with?the?License.
??*?You?may?obtain?a?copy?of?the?License?at:
??*
??*????????http://www.st.com/software_license_agreement_liberty_v2
??*
??*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software?
??*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS?
??*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
??*?See?the?License?for?the?specific?language?governing?permissions?and
??*?limitations?under?the?License.
??*
??******************************************************************************
??*/
/*?Includes?------------------------------------------------------------------*/
#include?“stm32f0xx_it.h“
#include?“systick.h“
/**?@addtogroup?STM32F0308_Discovery_Peripheral_Examples
??*?@{
??*/
/**?@addtogroup?EXTI_Example
??*?@{
??*/
/*?Private?typedef?-----------------------------------------------------------*/
/*?Private?define?------------------------------------------------------------*/
/*?Private?macro?-------------------------------------------------------------*/
/*?Private?variables?---------------------------------------------------------*/
/*?Private?function?prototypes?-----------------------------------------------*/
/*?Private?functions?---------------------------------------------------------*/
/******************************************************************************/
/*????????????Cortex-M0?Processor?Exceptions?Handlers?????????????????????????*/
/******************************************************************************/
/**
??*?@brief??This?function?handles?NMI?exception.
??*?@param??None
??*?@retval?None
??*/
void?NMI_Handler(void)
{
}
/**
??*?@brief??This?function?handles?Hard?Fault?exception.
??*?@param??None
??*?@retval?None
??*/
void?HardFault_Handler(void)
{
??/*?Go?to?infinite?loop?when?Hard?Fault?exception?occurs?*/
??while?(1)
??{
??}
}
/**
??*?@brief??This?function?handles?SVCall?exception.
??*?@param??None
??*?@retval?None
??*/
void?SVC_Handler(void)
{
}
/**
??*?@brief??This?function?handles?PendSVC?exception.
??*?@param??None
??*?@retval?None
??*/
void?PendSV_Handler(void)
{
}
/**
??*?@brief??This?function?handles?SysTick?Handler.
??*?@param??None
??*?@retval?None
??*/
void?SysTick_Handler(
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????33042??2013-10-11?21:57??Core\core_cm0.h
?????文件??????17146??2013-10-11?21:57??Core\core_cmFunc.h
?????文件??????20513??2013-10-11?21:57??Core\core_cmInstr.h
?????文件??????10705??2013-10-11?21:58??Core\startup_stm32f030x8.s
?????文件??????10714??2013-10-11?21:58??Core\startup_stm32f0xx.s
?????文件?????244207??2017-10-26?15:31??Core\stm32f0xx.h
?????文件???????3423??2019-03-08?14:39??Core\stm32f0xx_conf.h
?????文件???????4764??2019-09-07?20:32??Core\stm32f0xx_it.c
?????文件???????2250??2017-09-05?21:59??Core\stm32f0xx_it.h
?????文件??????14829??2019-03-18?09:56??Core\system_stm32f0xx.c
?????文件???????2221??2019-03-08?14:59??Core\system_stm32f0xx.h
?????文件??????19515??2013-10-11?21:58??Fwlib\inc\stm32f0xx_adc.h
?????文件??????12354??2013-10-11?21:58??Fwlib\inc\stm32f0xx_cec.h
?????文件??????10386??2013-10-11?21:58??Fwlib\inc\stm32f0xx_comp.h
?????文件???????3681??2013-10-11?21:58??Fwlib\inc\stm32f0xx_crc.h
?????文件???????7139??2013-10-11?21:58??Fwlib\inc\stm32f0xx_dac.h
?????文件???????3893??2013-10-11?21:58??Fwlib\inc\stm32f0xx_dbgmcu.h
?????文件??????14208??2013-10-11?21:58??Fwlib\inc\stm32f0xx_dma.h
?????文件???????8618??2019-03-13?16:13??Fwlib\inc\stm32f0xx_exti.h
?????文件??????12418??2013-10-11?21:58??Fwlib\inc\stm32f0xx_flash.h
?????文件??????13310??2019-08-14?13:44??Fwlib\inc\stm32f0xx_gpio.h
?????文件??????18111??2013-10-11?21:58??Fwlib\inc\stm32f0xx_i2c.h
?????文件???????4532??2013-10-11?21:58??Fwlib\inc\stm32f0xx_iwdg.h
?????文件???????4286??2019-04-17?09:50??Fwlib\inc\stm32f0xx_misc.h
?????文件???????5910??2019-09-03?21:25??Fwlib\inc\stm32f0xx_pwr.h
?????文件??????22815??2019-03-14?16:51??Fwlib\inc\stm32f0xx_rcc.h
?????文件??????22815??2013-10-11?21:58??Fwlib\inc\stm32f0xx_rcc.h~RF5cf2a99.TMP
?????文件??????22815??2019-03-14?16:43??Fwlib\inc\stm32f0xx_rcc.h~RF5d69845.TMP
?????文件??????34636??2013-10-11?21:58??Fwlib\inc\stm32f0xx_rtc.h
?????文件??????22352??2013-10-11?21:58??Fwlib\inc\stm32f0xx_spi.h
............此處省略127個文件信息
評論
共有 條評論