IRPyro API  (sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
IRPyro micro controller interface

Provides access to: GPIO, I2C, UART, LEDs, TIM for the NUCLEO-F303K8 board. More...

Collaboration diagram for IRPyro micro controller interface:

Modules

 External interrupt configuration
 Architecture dependent functions.
 
 IRPyro Functions access the USART
 Allows to get a byte from the USART and send a stream of data to a client.
 
 IRPyro GPIO
 access to General I/O functions (GPIO)
 
 IRPyro I2C
 Intermediate level functions to access I2C.
 
 Micro controller interface
 Micro controller architecture dependent functions.
 
 Status LEDs and emitter management
 

Functions

static void Micro_controller_External_interrupt_init (void)
 Initializes the USART 2 on the STM32F303K8 PORT A and pins 2,15 are used. Refer to STM document RM0316 section 29 and the stm32f30x_usart.c. More...
 
static void Micro_controller_LED_configure (void)
 configures and enables status LED's on the backplane boards More...
 
static void Micro_controller_TIM_init (void)
 Configuration for hardware timer for emitter control. More...
 
static void Micro_controller_UART_init (void)
 Initializes the USART 2 on the STM32F303K8 PORT A and pins 2,15 are used. Refer to STM document RM0316 section 29 and the stm32f30x_usart.c. More...
 

Variables

static I2C_Config_Type Config = {0}
 Configuration Structure for the I2C Module. More...
 
static uint8_t Config_Valid_Flag =0
 Configuration valid flag indicating module has been configured. More...
 

Detailed Description

Provides access to: GPIO, I2C, UART, LEDs, TIM for the NUCLEO-F303K8 board.

* 
Attention
Modify accordingly depending on architecture

Function Documentation

◆ Micro_controller_External_interrupt_init()

void Micro_controller_External_interrupt_init ( void  )
static

Initializes the USART 2 on the STM32F303K8 PORT A and pins 2,15 are used. Refer to STM document RM0316 section 29 and the stm32f30x_usart.c.

Definition at line 242 of file Micro_controller_template.c.

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

◆ Micro_controller_LED_configure()

static void Micro_controller_LED_configure ( void  )
static

configures and enables status LED's on the backplane boards

Definition at line 1258 of file Micro_controller_template.c.

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

◆ Micro_controller_TIM_init()

static void Micro_controller_TIM_init ( void  )
static

Configuration for hardware timer for emitter control.

Definition at line 1428 of file Micro_controller_template.c.

Here is the caller graph for this function:

◆ Micro_controller_UART_init()

void Micro_controller_UART_init ( void  )
static

Initializes the USART 2 on the STM32F303K8 PORT A and pins 2,15 are used. Refer to STM document RM0316 section 29 and the stm32f30x_usart.c.

Definition at line 252 of file Micro_controller_template.c.

Here is the caller graph for this function:

Variable Documentation

◆ Config

I2C_Config_Type Config = {0}
static

Configuration Structure for the I2C Module.

Definition at line 586 of file Micro_controller_template.c.

◆ Config_Valid_Flag

uint8_t Config_Valid_Flag =0
static

Configuration valid flag indicating module has been configured.

Definition at line 587 of file Micro_controller_template.c.