NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
unittest_macros.h File Reference
#include "rx/rx.h"
Include dependency graph for unittest_macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UNUSED(x)   (void)(x)
 

Functions

const struct system_callsmock_syscalls ()
 
void mock_system_reset ()
 
void mock_eeprom_erase ()
 

Variables

uint16_t mock_motor_pwm [8]
 
uint16_t mock_servo_pwm [8]
 
uint16_t mock_rc_pwm [RX_MAX_SUPPORTED_RC_CHANNELS]
 
uint16_t mock_pwm_errors
 
int16_t mock_acc [3]
 
int16_t mock_gyro [3]
 
uint32_t mock_eeprom_written
 
uint16_t mock_eeprom_pages
 
uint16_t mock_eeprom_page_size
 
uint8_t mock_eeprom_erase_byte
 
char mock_eeprom_data []
 

Macro Definition Documentation

#define UNUSED (   x)    (void)(x)

Function Documentation

void mock_eeprom_erase ( )
const struct system_calls* mock_syscalls ( )
void mock_system_reset ( )

Variable Documentation

int16_t mock_acc[3]
char mock_eeprom_data[]
uint8_t mock_eeprom_erase_byte
uint16_t mock_eeprom_page_size
uint16_t mock_eeprom_pages
uint32_t mock_eeprom_written
int16_t mock_gyro[3]
uint16_t mock_motor_pwm[8]
uint16_t mock_pwm_errors
uint16_t mock_rc_pwm[RX_MAX_SUPPORTED_RC_CHANNELS]
uint16_t mock_servo_pwm[8]