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 46 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 588 of file i2c.cpp.

void DMA1_Stream2_IRQHandler ( void  )

Definition at line 567 of file i2c.cpp.

void I2C1_ER_IRQHandler ( void  )

Definition at line 607 of file i2c.cpp.

void I2C1_EV_IRQHandler ( void  )

Definition at line 612 of file i2c.cpp.

void I2C2_ER_IRQHandler ( void  )

Definition at line 617 of file i2c.cpp.

void I2C2_EV_IRQHandler ( void  )

Definition at line 622 of file i2c.cpp.

void I2C3_ER_IRQHandler ( void  )

Definition at line 627 of file i2c.cpp.

void I2C3_EV_IRQHandler ( void  )

Definition at line 632 of file i2c.cpp.

Variable Documentation

I2C* I2C1_Ptr

Definition at line 49 of file i2c.cpp.

I2C* I2C2_Ptr

Definition at line 50 of file i2c.cpp.

I2C* I2C3_Ptr

Definition at line 51 of file i2c.cpp.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26