Skip to content

Commit

Permalink
Improve HAL Initialize/Uninitialize (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
josesimoes authored Jul 8, 2020
1 parent c744762 commit 3d599d0
Show file tree
Hide file tree
Showing 13 changed files with 927 additions and 639 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@
// See LICENSE file in the project root for full license information.
//


#ifndef _WIN_DEV_ADC_NATIVE_TARGET_H_
#define _WIN_DEV_ADC_NATIVE_TARGET_H_

#include <hal.h>
#include <win_dev_adc_native.h>

struct NF_PAL_ADC_PORT_PIN_CHANNEL
typedef struct
{
uint8_t adcIndex;
stm32_gpio_t* portId;
uint8_t pin;
uint32_t adcChannel;
};
uint8_t adcIndex;
stm32_gpio_t *portId;
uint8_t pin;
uint32_t adcChannel;
} NF_PAL_ADC_PORT_PIN_CHANNEL;

extern const NF_PAL_ADC_PORT_PIN_CHANNEL AdcPortPinConfig[];
extern const int AdcChannelCount;

#endif //_WIN_DEV_ADC_NATIVE_TARGET_H_
#endif //_WIN_DEV_ADC_NATIVE_TARGET_H_
Loading

0 comments on commit 3d599d0

Please sign in to comment.