You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
659 B
34 lines
659 B
/*
|
|
* upstream_hid.h
|
|
*
|
|
* Created on: Jan 16, 2016
|
|
* Author: Robert Fisk
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
|
|
#ifndef UPSTREAM_HID_H_
|
|
#define UPSTREAM_HID_H_
|
|
|
|
|
|
|
|
#include "stm32f4xx_hal.h"
|
|
|
|
|
|
typedef uint8_t (*UpstreamHidSendReportCallback)(uint8_t *report,
|
|
uint16_t len);
|
|
|
|
|
|
|
|
void Upstream_HID_DeInit(void);
|
|
HAL_StatusTypeDef Upstream_HID_GetNextReport(UpstreamHidSendReportCallback callback);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* UPSTREAM_HID_H_ */
|