Brick Groove Machine
0.9.3
Firmware embarqué pour contrôleur/synthé Brick
Chargement...
Recherche...
Aucune correspondance
usbcfg.h
Aller à la documentation de ce fichier.
1
21
#ifndef BRICK_USB_USBCFG_H
22
#define BRICK_USB_USBCFG_H
23
24
#include "hal.h"
25
#include <stdbool.h>
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
/* ====================================================================== */
32
/* DÉFINITIONS DES ENDPOINTS */
33
/* ====================================================================== */
34
42
#define MIDI_EP_OUT 1U
43
45
#define MIDI_EP_IN 2U
46
48
#define MIDI_EP_SIZE 64U
51
/* ====================================================================== */
52
/* VARIABLES GLOBALES */
53
/* ====================================================================== */
54
63
extern
volatile
bool
usb_midi_tx_ready
;
64
65
/* ====================================================================== */
66
/* CONFIGURATION DU DRIVER */
67
/* ====================================================================== */
68
82
extern
const
USBConfig
usbcfg
;
83
84
#ifdef __cplusplus
85
}
86
#endif
87
88
#endif
/* BRICK_USB_USBCFG_H */
usb_midi_tx_ready
volatile bool usb_midi_tx_ready
Indique si la couche USB-MIDI est prête à transmettre des données.
Definition
usbcfg.c:37
usbcfg
const USBConfig usbcfg
Structure de configuration du driver USB (ChibiOS).
Definition
usbcfg.c:283
usb
usbcfg.h
Généré par
1.9.8