accelerometer

所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:3956KB
下载次数:6
上传日期:2020-02-13 11:21:10
上 传 者hoabi
说明:  LSM6DS3 with stm32f103

文件列表:
accelerometer\.cproject (19448, 2019-01-17)
accelerometer\.project (2507, 2015-11-27)
accelerometer\.settings\org.eclipse.cdt.codan.core.prefs (6682, 2015-11-27)
accelerometer\Debug\accelerometer.bin (32240, 2019-11-08)
accelerometer\Debug\accelerometer.elf (521038, 2019-11-08)
accelerometer\Debug\accelerometer.hex (90757, 2019-11-08)
accelerometer\Debug\accelerometer.lst (710830, 2019-11-08)
accelerometer\Debug\accelerometer.map (259715, 2019-11-08)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\misc.d (6581, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\misc.o (434696, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\misc.o.lst (37636, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.o (448176, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.o.lst (229693, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.o (438624, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.o.lst (54534, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.o (446708, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.o.lst (262815, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.o (437048, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.o.lst (72986, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.o (432928, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.o.lst (28497, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.o (436732, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.o.lst (78514, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.d (6605, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.o (432000, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.o.lst (25766, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.d (6599, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.o (437580, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.o.lst (115166, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.d (6601, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.o (434664, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.o.lst (49209, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.d (6603, 2019-07-25)
accelerometer\Debug\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.o (444712, 2019-07-25)
... ...

/** @page GPIO_IOToggle GPIO IO Toggle example @verbatim ******************** (C) COPYRIGHT 2012 STMicroelectronics ******************* * @file GPIO/IOToggle/readme.txt * @author MCD Application Team * @version V3.6.0 * @date 24-April-2012 * @brief Description of the GPIO IO Toggle example. ****************************************************************************** * * 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. * ****************************************************************************** @endverbatim @par Example Description GPIO ports are connected on APB2 bus, using BSRRH and BSRRL registers 2 cycles are required to set a pin and another cycle to reset it. So GPIO pins can toggle at AHB clock divided by 4. This example describes how to use BSRR and BRR (Port Bit Set/Reset Register and Port Bit Reset Register) for maximum IO toggling. PD0 and PD2 (configured in output pushpull mode) toggles in a forever loop: - Set PD0 and PD2 by setting corresponding bits in BSRR register - Reset PD0 and PD2 by setting corresponding bits in BRR register In this example, HCLK is configured at 72 MHz so PD0 and PD2 toggles at 18MHz. To achieve the maximum IO toggling frequency, you have to configure your compiler options for high speed optimization. @par Directory contents - GPIO/IOToggle/stm32f10x_conf.h Library Configuration file - GPIO/IOToggle/stm32f10x_it.c Interrupt handlers - GPIO/IOToggle/stm32f10x_it.h Header for stm32f10x_it.c - GPIO/IOToggle/main.c Main program - GPIO/IOToggle/system_stm32f10x.c STM32F10x system source file @par Hardware and Software environment - This example runs on STM32F10x Connectivity line, High-Density, High-Density Value line, Medium-Density, XL-Density, Medium-Density Value line, Low-Density and Low-Density Value line Devices. - This example has been tested with STMicroelectronics STM32100E-EVAL (High-Density Value line), STM32100B-EVAL (Medium-Density Value line), STM3210C-EVAL (Connectivity line), STM3210E-EVAL (High-Density and XL-Density) and STM3210B-EVAL (Medium-Density) evaluation boards and can be easily tailored to any other supported device and development board. To select the STMicroelectronics evaluation board used to run the example, uncomment the corresponding line in stm32_eval.h file (under Utilities\STM32_EVAL) @par How to use it ? In order to make the program work, you must do the following : - Copy all source files from this example folder to the template folder under Project\STM32F10x_StdPeriph_Template - Open your preferred toolchain - Rebuild all files and load your image into target memory - Run the example @note - Low-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Medium-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between *** and 128 Kbytes. - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between *** and 128 Kbytes. - High-density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 512 and 1024 Kbytes. - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers. *

© COPYRIGHT STMicroelectronics

*/

近期下载者

相关文件


收藏者