-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Abstracted HW_adc and created a simple filter library
- Loading branch information
1 parent
5328b8f
commit bce0d93
Showing
30 changed files
with
365 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* @file HW_adc_componentSpecific.h | ||
* @brief Header file for ADC firmware | ||
*/ | ||
|
||
#pragma once | ||
|
||
/****************************************************************************** | ||
* I N C L U D E S | ||
******************************************************************************/ | ||
|
||
#include "HW.h" | ||
|
||
/****************************************************************************** | ||
* D E F I N E S | ||
******************************************************************************/ | ||
|
||
#define ADC_REF_VOLTAGE 3.0f | ||
|
||
/****************************************************************************** | ||
* E X T E R N S | ||
******************************************************************************/ | ||
|
||
extern ADC_HandleTypeDef hadc1; | ||
extern ADC_HandleTypeDef hadc2; | ||
extern DMA_HandleTypeDef hdma_adc1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
components/bms_worker/HW/include/HW_adc_componentSpecific.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* @file HW_adc_componentSpecific.h | ||
* @brief Header file for ADC firmware | ||
*/ | ||
|
||
#pragma once | ||
|
||
/****************************************************************************** | ||
* I N C L U D E S | ||
******************************************************************************/ | ||
|
||
#include "HW.h" | ||
|
||
/****************************************************************************** | ||
* D E F I N E S | ||
******************************************************************************/ | ||
|
||
#define ADC_REF_VOLTAGE 3.0f | ||
|
||
/****************************************************************************** | ||
* E X T E R N S | ||
******************************************************************************/ | ||
|
||
extern ADC_HandleTypeDef hadc1; | ||
extern ADC_HandleTypeDef hadc2; | ||
extern DMA_HandleTypeDef hdma_adc1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.