Initialize alarm signal when ADC value is greater than 0xF0
This commit is contained in:
26
inc/afe_configuration.h
Normal file
26
inc/afe_configuration.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef _AFE_CONFIGURATION_
|
||||
#define _AFE_CONFIGURATION_
|
||||
|
||||
#define ISINK0_CURRENT 4
|
||||
#define ISINK1_CURRENT 0
|
||||
#define AFE_R1 15
|
||||
#define AFE_R2 15
|
||||
#define AFE_R3 0
|
||||
#define ISINK0_DELAY 2
|
||||
#define ISINK1_DELAY 2
|
||||
|
||||
void opa0_calib();
|
||||
void opa1_calib();
|
||||
void opa_config();
|
||||
void isink0_on();
|
||||
void isink1_on();
|
||||
void isink0_off();
|
||||
void isink1_off();
|
||||
void opa_on();
|
||||
void opa_off();
|
||||
void isink0_delay();
|
||||
void isink1_delay();
|
||||
void opa_delay(uint8_t delay);
|
||||
void afe_init();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user