mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-29 09:38:08 +00:00
10 lines
179 B
C
10 lines
179 B
C
#include STM32_HAL_H
|
|
|
|
#include "lib/utils/interrupt_char.h"
|
|
|
|
static inline mp_uint_t mp_hal_ticks_cpu(void) {
|
|
return DWT->CYCCNT;
|
|
}
|
|
|
|
void mp_hal_set_vcp_iface(int iface_num);
|