add ADC (don't working DAC, don't workint Tsens)

This commit is contained in:
eddyem
2023-01-23 17:35:44 +03:00
parent a74e6f071b
commit 3b3c150474
32 changed files with 2598 additions and 0 deletions

25
F3:F303/ADC/proto.h Normal file
View File

@@ -0,0 +1,25 @@
/*
* This file is part of the adc project.
* Copyright 2023 Edward V. Emelianov <edward.emelianoff@gmail.com>.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <stdint.h>
extern volatile uint8_t ADCmon;
char *parse_cmd(char *buf);
void printADCvals();