mirror of
https://github.com/eddyem/stm32samples.git
synced 2025-12-06 02:35:23 +03:00
14 lines
244 B
C
14 lines
244 B
C
#pragma once
|
|
|
|
#include <stm32f3.h>
|
|
|
|
#define USBPU_port GPIOA
|
|
#define USBPU_pin (1<<15)
|
|
#define USBPU_ON() pin_clear(USBPU_port, USBPU_pin)
|
|
#define USBPU_OFF() pin_set(USBPU_port, USBPU_pin)
|
|
|
|
extern volatile uint32_t Tms;
|
|
|
|
void hw_setup();
|
|
|