SingingCat
0
application
src
sx1262
netdev.c
1
#include "networkif.h"
2
#include "sx1262/sx1262.h"
3
4
void
sx1262_info(
struct
network_context
*nctx) {
5
print_chip_status(nctx, 1);
6
}
7
struct
networkif
sx1262dev = {
8
.probe = &sx1262_probe,
9
.init = &sx1262_init,
10
.loop = &sx1262_loop,
11
.transmit = &sx1262_transmit,
12
.info = &sx1262_info,
13
.stop = &sx1262_stop,
14
.busy = &sx1262_busy,
15
};
16
17
18
struct
networkif
*sx1262_get_netdev() {
19
return
&sx1262dev;
20
}
network_context
Definition:
networkif.h:18
networkif
Definition:
networkif.h:26
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4