PER Firmware
Loading...
Searching...
No Matches
main.h File Reference
#include <stdint.h>
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LED_GREEN_PORT   GPIOB
 
#define LED_GREEN_PIN   7
 
#define LED_RED_PORT   GPIOB
 
#define LED_RED_PIN   5
 
#define LED_BLUE_PORT   GPIOA
 
#define LED_BLUE_PIN   15
 
#define LED_ORANGE_PORT   GPIOB
 
#define LED_ORANGE_PIN   1
 
#define LED_NUCLEO_GREEN_PORT   GPIOA
 
#define LED_NUCLEO_GREEN_PIN   5
 
#define ADC_NUM_CHANNELS   (sizeof(raw_adc_values) / sizeof(uint16_t))
 

Functions

struct __attribute__ ((packed))
 

Variables

 raw_adc_values_t
 
volatile raw_adc_values_t raw_adc_values
 

Macro Definition Documentation

◆ ADC_NUM_CHANNELS

#define ADC_NUM_CHANNELS   (sizeof(raw_adc_values) / sizeof(uint16_t))

◆ LED_BLUE_PIN

#define LED_BLUE_PIN   15

◆ LED_BLUE_PORT

#define LED_BLUE_PORT   GPIOA

◆ LED_GREEN_PIN

#define LED_GREEN_PIN   7

◆ LED_GREEN_PORT

#define LED_GREEN_PORT   GPIOB

◆ LED_NUCLEO_GREEN_PIN

#define LED_NUCLEO_GREEN_PIN   5

◆ LED_NUCLEO_GREEN_PORT

#define LED_NUCLEO_GREEN_PORT   GPIOA

◆ LED_ORANGE_PIN

#define LED_ORANGE_PIN   1

◆ LED_ORANGE_PORT

#define LED_ORANGE_PORT   GPIOB

◆ LED_RED_PIN

#define LED_RED_PIN   5

◆ LED_RED_PORT

#define LED_RED_PORT   GPIOB

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed) )

Variable Documentation

◆ raw_adc_values

volatile raw_adc_values_t raw_adc_values
extern

◆ raw_adc_values_t

raw_adc_values_t