![]() |
CROSS Technical Documentation User Manual and Technical Doc.
INFN Milano Bicocca
|
#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Macros | |
| #define | TIMER0_freqeunza 10000 |
| #define | TIMER0_coefficiente_per_millisec (TIMER0_freqeunza /1000) |
| #define | TIM0_MR0I 1 |
| Abilitazione interrupt timer0. | |
| #define | TIM0_MR0S 2 |
| Stop al fondo scala timer0. | |
| #define | TIM0_MR0R 4 |
| Reset contatori timer0. | |
| #define | TIMER0_start_conteggio LPC_TIM0 -> TCR = 1; |
| #define | TIMER0_stotp_conteggio LPC_TIM0 -> TCR = 0; |
| #define | TIMER1_start_conteggio LPC_TIM1 -> TCR = 1; |
| #define | timer_set timer=1;N=0 |
Functions | |
| void | Aspetta_tanti_ms (int m) |
| The timing function. | |
| void | SysTick_Handler (void) |
| The timing function. | |
| void | Imposta_wiper_a_meta_scala_canale_0_I2CA (void) |
| void | Imposta_wiper_a_meta_scala_canale_1_I2CA (void) |
Variables | |
| volatile bool | timer |
| volatile uint32_t | ticks |
| volatile uint32_t | N |