LED clock
 All Files Functions Variables Macros Groups Pages
Macros
ADC used to ambient luminosity

Macros

#define PHOTORESISTOR_ADC_CHANNEL   ADC_CHANNEL0
 
#define PHOTORESISTOR_PORT   GPIOA
 
#define PHOTORESISTOR_PORT_RCC   RCC_GPIOA
 
#define PHOTORESISTOR_PIN   GPIO0
 

Detailed Description

Macro Definition Documentation

#define PHOTORESISTOR_ADC_CHANNEL   ADC_CHANNEL0

ADC channel

Definition at line 83 of file main.c.

#define PHOTORESISTOR_PIN   GPIO0

pin of the port on which the battery is connected

Definition at line 86 of file main.c.

#define PHOTORESISTOR_PORT   GPIOA

port on which the battery is connected

Definition at line 84 of file main.c.

#define PHOTORESISTOR_PORT_RCC   RCC_GPIOA

timer port peripheral clock

Definition at line 85 of file main.c.