OpenRTX/platform/drivers/USB/usb.h
Ryan Turner 95fdcd5fe2 copyright-and-license: adopt SPDX-compliant header
This change removes the old copyright header from project sources and
replaces it with a new simplified SPDX-compliant header. Note that files
that were missing the header but reasonably understood to be licensed
according to the root license were not corrected.

Signed-off-by: Ryan Turner <ryan@turnrye.com>
2026-01-14 20:10:07 +01:00

32 lines
417 B
C

/*
* SPDX-FileCopyrightText: Copyright 2020-2026 OpenRTX Contributors
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef USB_H
#define USB_H
#include <stdint.h>
#include <unistd.h>
#include "tusb.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* Initialise the USB driver.
*/
void usb_init();
/**
* Shut down the USB driver.
*/
void usb_terminate();
#ifdef __cplusplus
}
#endif
#endif /* USB_H */