IRPyro API
(sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
|
Architecture dependent functions. More...
Functions | |
static void | EXTernal_Callback_Disable (void) |
Ends function callbacks. More... | |
static void | EXTernal_Callback_Enable (EXTernal_callback Callback) |
Starts function callbacks. More... | |
void | EXTernal_Callback_Setup (EXTernal_callback Callback) |
Configures function callbacks. More... | |
static void | EXTI4_Config (void) |
Configure Sensor 1 INT line in interrupt mode. More... | |
void | EXTI4_IRQHandler (void) |
This function handles external line 4 interrupt request. More... | |
static void | EXTI9_5_Config (void) |
Configure Sensor 2,3, and 4 INT line in interrupt mode. More... | |
void | EXTI9_5_IRQHandler (void) |
This function handles external lines 5 to 9 interrupt request. More... | |
uint8_t | EXTI_detected (uint8_t exti_line) |
This function access the status of the interrupt lines for the wake up event. More... | |
Variables | |
static EXTernal_callback | EXTI_Callback_Fn = NULL |
volatile uint8_t | EXTI_line_record [4] = {0} |
Architecture dependent functions.
* Functions to initialize ports, pins and interrupts handlers required to monitor * external interrupts. This implementation is specific for the STM32 micro controllers * STM32F30x Peripherals Interrupt Handlers * Add here the Interrupt Handler for the used peripheral(s) (PPP), for the * available peripheral interrupt handler's name please refer to the startup * file (startup_stm32f30x.s). *
|
static |
Ends function callbacks.
Definition at line 952 of file Micro_controller_template.c.
|
static |
Starts function callbacks.
Callback | Function to call after each interval. |
Definition at line 945 of file Micro_controller_template.c.
void EXTernal_Callback_Setup | ( | EXTernal_callback | Callback | ) |
Configures function callbacks.
Callback | Function to call after event detected |
Definition at line 960 of file Micro_controller_template.c.
|
static |
Configure Sensor 1 INT line in interrupt mode.
Definition at line 877 of file Micro_controller_template.c.
void EXTI4_IRQHandler | ( | void | ) |
This function handles external line 4 interrupt request.
Definition at line 975 of file Micro_controller_template.c.
|
static |
Configure Sensor 2,3, and 4 INT line in interrupt mode.
Definition at line 905 of file Micro_controller_template.c.
void EXTI9_5_IRQHandler | ( | void | ) |
This function handles external lines 5 to 9 interrupt request.
Definition at line 993 of file Micro_controller_template.c.
uint8_t EXTI_detected | ( | uint8_t | exti_line | ) |
This function access the status of the interrupt lines for the wake up event.
exti_line | the exti_line to be questioned |
Definition at line 1037 of file Micro_controller_template.c.
|
static |
Definition at line 940 of file Micro_controller_template.c.
volatile uint8_t EXTI_line_record[4] = {0} |
Definition at line 938 of file Micro_controller_template.c.