Simone: a game of visual memory and speed
stm32f4_rgb_light.h File Reference

Header for stm32f4_rgb_light.c file. More...

#include <stdint.h>
#include "stm32f4xx.h"

Data Structures

struct  stm32f4_rgb_light_hw_t
 Structure to define the HW dependencies of an RGB LED. More...
 

Macros

#define STM32F4_RGB_LIGHT_R_GPIO
 
#define STM32F4_RGB_LIGHT_R_PIN
 
#define STM32F4_RGB_LIGHT_G_GPIO
 
#define STM32F4_RGB_LIGHT_G_PIN
 
#define STM32F4_RGB_LIGHT_B_GPIO
 
#define STM32F4_RGB_LIGHT_B_PIN
 

Variables

stm32f4_rgb_light_hw_t rgb_lights_arr []
 Array of elements that represents the HW characteristics of the RGB LED of the RGB light systems connected to the STM32F4 platform. More...
 

Detailed Description

Header for stm32f4_rgb_light.c file.

Author
Sistemas Digitales II
Date
2026-01-01

Macro Definition Documentation

◆ STM32F4_RGB_LIGHT_B_GPIO

#define STM32F4_RGB_LIGHT_B_GPIO

Blue LED GPIO port

◆ STM32F4_RGB_LIGHT_B_PIN

#define STM32F4_RGB_LIGHT_B_PIN

Blue LED GPIO pin

◆ STM32F4_RGB_LIGHT_G_GPIO

#define STM32F4_RGB_LIGHT_G_GPIO

Green LED GPIO port

◆ STM32F4_RGB_LIGHT_G_PIN

#define STM32F4_RGB_LIGHT_G_PIN

Green LED GPIO pin

◆ STM32F4_RGB_LIGHT_R_GPIO

#define STM32F4_RGB_LIGHT_R_GPIO

Red LED GPIO port

◆ STM32F4_RGB_LIGHT_R_PIN

#define STM32F4_RGB_LIGHT_R_PIN

Red LED GPIO pin

Variable Documentation

◆ rgb_lights_arr

stm32f4_rgb_light_hw_t rgb_lights_arr[]

Array of elements that represents the HW characteristics of the RGB LED of the RGB light systems connected to the STM32F4 platform.

This is an extern variable that is defined in stm32f4_rgb_light.c. It represents an array of hardware RGB lights.

  • This is an extern variable that is declared in stm32f4_rgb_light.h. It represents an array of RGB lights.