forked from Elron_dev/elbear_arduino_bsp
Merged with dev0.2_uart1
This commit is contained in:
1 parent
87e881aea1
commit
0ea1ec5b97
7 files changed
+131
-35
No files matched your search
@@ -23,13 +23,14 @@
|
||||
#ifndef Pins_Arduino_h
|
||||
#define Pins_Arduino_h
|
||||
|
||||
#include "wiring_constants.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "mik32_hal_gpio.h"
|
||||
#include "mik32_hal_timer32.h"
|
||||
#include "wiring_constants.h"
|
||||
|
||||
extern bool spiNssPinIsBlocked;
|
||||
|
||||
@@ -67,6 +68,10 @@ volatile uint32_t* portOutputRegister(GPIO_TypeDef* GPIO_x);
|
||||
// the function returns a reference to the STATE address of the GPIO register
|
||||
volatile uint32_t* portInputRegister(GPIO_TypeDef* GPIO_x);
|
||||
|
||||
// UART
|
||||
// available uarts quantity
|
||||
#define SERIAL_PORT_QTY 2
|
||||
|
||||
// ADC
|
||||
// determines the ADC channel number by the board pin number
|
||||
uint32_t analogInputToChannelNumber(uint32_t PinNumber);
|
||||
|
||||
Reference in new issue
Block a user