mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-20 09:43:23 +00:00
fc043da9c6
* FuriHal: UART refactoring * ApiSymbols: add furi_record_destroy * FuriHal: cleanup serial API, add logging configuration in RTC * FuriHal: hide private part in _i header. Toolbox: cleanup value index. SystemSettings: logging device and baudrate. * FuriHal: RTC logging method documentation * Synchronize API Symbols * Furi: mark HEAP_PRINT_DEBUG as broken * FuriHal: furi_hal_serial, add custom IRQ func * Fix PR review issues * FuriHal: UART add reception DMA (#3220) * FuriHal: add DMA serial rx mode * usb_uart_bridge: switch to working with DMA * Sync api symbol versions * FuriHal: update serial docs and api * FuriHal: Selial added similar API for simple reception mode as with DMA * FuriHal: Update API target H18 * API: ver API H7 * FuriHal: Serial error processing * FuriHal: fix furi_hal_serial set baudrate * Sync api symbols * FuriHal: cleanup serial isr and various flag handling procedures * FuriHal: cleanup and simplify serial API * Debug: update UART Echo serial related flags * FuriHal: update serial API symbols naming * FuriHalSerial: various improvements and PR review fixes * FuriHal: proper ISR function signatures --------- Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com> Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: SkorP <skorpionm@yandex.ru> Co-authored-by: Skorpionm <85568270+Skorpionm@users.noreply.github.com>
65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
/**
|
|
* @file furi_hal.h
|
|
* Furi HAL API
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
template <unsigned int N>
|
|
struct STOP_EXTERNING_ME {};
|
|
#endif
|
|
|
|
#include <furi_hal_cortex.h>
|
|
#include <furi_hal_clock.h>
|
|
#include <furi_hal_bus.h>
|
|
#include <furi_hal_crypto.h>
|
|
#include <furi_hal_debug.h>
|
|
#include <furi_hal_dma.h>
|
|
#include <furi_hal_os.h>
|
|
#include <furi_hal_sd.h>
|
|
#include <furi_hal_i2c.h>
|
|
#include <furi_hal_region.h>
|
|
#include <furi_hal_resources.h>
|
|
#include <furi_hal_rtc.h>
|
|
#include <furi_hal_speaker.h>
|
|
#include <furi_hal_gpio.h>
|
|
#include <furi_hal_light.h>
|
|
#include <furi_hal_power.h>
|
|
#include <furi_hal_interrupt.h>
|
|
#include <furi_hal_version.h>
|
|
#include <furi_hal_bt.h>
|
|
#include <furi_hal_spi.h>
|
|
#include <furi_hal_flash.h>
|
|
#include <furi_hal_vibro.h>
|
|
#include <furi_hal_usb.h>
|
|
#include <furi_hal_usb_hid.h>
|
|
#include <furi_hal_usb_ccid.h>
|
|
#include <furi_hal_serial_control.h>
|
|
#include <furi_hal_serial.h>
|
|
#include <furi_hal_info.h>
|
|
#include <furi_hal_random.h>
|
|
#include <furi_hal_target_hw.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Early FuriHal init, only essential subsystems */
|
|
void furi_hal_init_early();
|
|
|
|
/** Early FuriHal deinit */
|
|
void furi_hal_deinit_early();
|
|
|
|
/** Init FuriHal */
|
|
void furi_hal_init();
|
|
|
|
/** Transfer execution to address
|
|
*
|
|
* @param[in] address pointer to new executable
|
|
*/
|
|
void furi_hal_switch(void* address);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|