mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Working scheduling of ADC 🎉
This commit is contained in:
@@ -8,10 +8,24 @@
|
||||
#ifndef PINE_SETUP_H_
|
||||
#define PINE_SETUP_H_
|
||||
#include <stdint.h>
|
||||
extern "C" {
|
||||
#include "bflb_platform.h"
|
||||
#include "bl702_adc.h"
|
||||
#include "bl702_common.h"
|
||||
#include "bl702_glb.h"
|
||||
#include "bl702_i2c.h"
|
||||
#include "bl702_pwm.h"
|
||||
#include "bl702_timer.h"
|
||||
#include "hal_adc.h"
|
||||
#include "hal_clock.h"
|
||||
#include "hal_pwm.h"
|
||||
#include "hal_timer.h"
|
||||
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
uint16_t getADC(uint8_t channel);
|
||||
void hardware_init();
|
||||
uint16_t getADCHandleTemp(uint8_t sample);
|
||||
|
||||
Reference in New Issue
Block a user