ajout BLE
This commit is contained in:
1 parent
66bb319423
commit
3757975e51
48 files changed
+293826
-284536
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#ifndef ST67_GLUE_H
|
||||
#define ST67_GLUE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* A appeler depuis HAL_GPIO_EXTI_Callback() pour toute broche : ne fait rien sauf pour SPI_RDY,
|
||||
* dont les fronts cadencent la liaison SPI avec le module ST67W611M1. */
|
||||
void ST67_ExtiCallback(uint16_t gpio_pin);
|
||||
|
||||
/* Journal du driver ST67 : tampon circulaire en RAM, lisible au debogueur (variables
|
||||
* st67_log_ring / st67_log_head). Pas de liaison serie disponible pour les traces. */
|
||||
#define ST67_LOG_RING_SIZE 4096U
|
||||
extern char st67_log_ring[ST67_LOG_RING_SIZE];
|
||||
extern volatile uint32_t st67_log_head; /* prochain octet a ecrire (modulo la taille) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ST67_GLUE_H */
|
||||
Reference in new issue
Block a user