IRPyro Micro controller template only
Routines to enable the MCU to use the USART and the I2C
Bare bones micro controller firmware

Support micro controller functions without the API component. More...

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...
 

Detailed Description

Support micro controller functions without the API component.

Function Documentation

◆ Configure_MCU()

static void Configure_MCU ( void  )
static

Example to initialize the STM32F303K8 micro controller.

Attention
Set your serial terminal console with the following parameters:
*        Baud Rate:           921600
*        Parity:                None
*        Data Bits:                8
*        Stop Bits:                1
*        Hardware Flow Control: None
*        Software Flow Control: None
* 
Note
Modify accordingly depending on architecture

Definition at line 79 of file main_IRPyro_microcontroller_only_demo.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ demo_board_sensor_control()

void demo_board_sensor_control ( int  state)
static

Changes the state of all the CS lines as used on the IRPyro backplane board.

Parameters
state0 disabled / 1 enabled

Definition at line 119 of file main_IRPyro_microcontroller_only_demo.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( void  )

Call point to the example functions.

Definition at line 62 of file main_IRPyro_microcontroller_only_demo.c.

Here is the call graph for this function:

◆ rx_function()

static void rx_function ( void  )
static

USART RX function.

Definition at line 103 of file main_IRPyro_microcontroller_only_demo.c.

Here is the caller graph for this function:

◆ tx_function()

static void tx_function ( void  )
static

USART TX function.

Definition at line 96 of file main_IRPyro_microcontroller_only_demo.c.

Here is the caller graph for this function:

◆ usart_callback_setup()

static void usart_callback_setup ( void  )
static

configures USART irq functions

Definition at line 110 of file main_IRPyro_microcontroller_only_demo.c.

Here is the call graph for this function:
Here is the caller graph for this function: