IRPyro Micro controller template only
Routines to enable the MCU to use the USART and the I2C
|
Examples of single sensor and multiple sensor streaming. Also IOCTL of a single sensor. More...
#include "main_IRPyro_microcontroller_only_demo.h"
Go to the source code of this file.
Functions | |
static void | Configure_MCU (void) |
Example to initialize the STM32F303K8 micro controller. More... | |
static void | demo_board_sensor_control (int state) |
Changes the state of all the CS lines as used on the IRPyro backplane board. More... | |
int | main (void) |
Call point to the example functions. More... | |
static void | rx_function (void) |
USART RX function. More... | |
static void | tx_function (void) |
USART TX function. More... | |
static void | usart_callback_setup (void) |
configures USART irq functions More... | |
Examples of single sensor and multiple sensor streaming. Also IOCTL of a single sensor.
=============================================================================== ##### How to use this example ##### =============================================================================== [..] Requirements (#) Keil compiler version 5 onwards (https://www.keil.com/download/product/) to build this example. (#) C99 option enabled on the compiler to support initialization macros. (#) The STM32 Standard Peripheral Library, see: (http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries.html) [..] (#) See Micro_controller_template.c for details on how to configure SDA,SCL INT and CS lines values. (#) Compile, load and run. (#) Display collected data on RealTerm or equivalent
Copyright (c) 2018, _KEMET, Ltd All rights reserved. THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file main_IRPyro_microcontroller_only_demo.c.