Macros | Functions | Variables
i2c.cpp File Reference
#include "i2c.h"
Include dependency graph for i2c.cpp:

Go to the source code of this file.

Macros

#define log_line   event_history_.add_event(__LINE__)
 
#define while_check(cond, result)
 

Functions

void DMA1_Stream0_IRQHandler (void)
 
void DMA1_Stream2_IRQHandler (void)
 
void I2C1_ER_IRQHandler (void)
 
void I2C1_EV_IRQHandler (void)
 
void I2C2_ER_IRQHandler (void)
 
void I2C2_EV_IRQHandler (void)
 
void I2C3_ER_IRQHandler (void)
 
void I2C3_EV_IRQHandler (void)
 

Variables

I2CI2C1_Ptr
 
I2CI2C2_Ptr
 
I2CI2C3_Ptr
 

Macro Definition Documentation

#define log_line   event_history_.add_event(__LINE__)

Definition at line 45 of file i2c.cpp.

#define while_check (   cond,
  result 
)
Value:
{ \
int32_t timeout_var = 200; \
while ((cond) && timeout_var) timeout_var--; \
if (!timeout_var) \
{ \
handle_hardware_failure(); \
result = RESULT_ERROR; \
} \
}

Definition at line 34 of file i2c.cpp.

Function Documentation

void DMA1_Stream0_IRQHandler ( void  )

Definition at line 583 of file i2c.cpp.

void DMA1_Stream2_IRQHandler ( void  )

Definition at line 563 of file i2c.cpp.

void I2C1_ER_IRQHandler ( void  )

Definition at line 602 of file i2c.cpp.

void I2C1_EV_IRQHandler ( void  )

Definition at line 604 of file i2c.cpp.

void I2C2_ER_IRQHandler ( void  )

Definition at line 606 of file i2c.cpp.

void I2C2_EV_IRQHandler ( void  )

Definition at line 608 of file i2c.cpp.

void I2C3_ER_IRQHandler ( void  )

Definition at line 610 of file i2c.cpp.

void I2C3_EV_IRQHandler ( void  )

Definition at line 612 of file i2c.cpp.

Variable Documentation

I2C* I2C1_Ptr

Definition at line 48 of file i2c.cpp.

I2C* I2C2_Ptr

Definition at line 49 of file i2c.cpp.

I2C* I2C3_Ptr

Definition at line 50 of file i2c.cpp.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Oct 9 2020 03:17:17