STM32L4R9I-Discovery BSP User Manual: Private Macros

STM32L4R9I-Discovery BSP

STM32L4R9I-Discovery BSP User Manual

Defines

#define ABS(X)   ((X) > 0 ? (X) : -(X))
#define POLY_X(Z)   ((int32_t)((Points + (Z))->X))
#define POLY_Y(Z)   ((int32_t)((Points + (Z))->Y))

Define Documentation

#define ABS (   X)    ((X) > 0 ? (X) : -(X))

Definition at line 110 of file stm32l4r9i_discovery_lcd.c.

Referenced by BSP_LCD_DrawLine(), and FillTriangle().

#define POLY_X (   Z)    ((int32_t)((Points + (Z))->X))

Definition at line 112 of file stm32l4r9i_discovery_lcd.c.

Referenced by BSP_LCD_FillPolygon().

#define POLY_Y (   Z)    ((int32_t)((Points + (Z))->Y))

Definition at line 113 of file stm32l4r9i_discovery_lcd.c.

Referenced by BSP_LCD_FillPolygon().

Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by   doxygen 1.7.6.1