27#ifndef PROTOCORE_PN532_H
28#define PROTOCORE_PN532_H
32#if PROTOCORE_ENABLE_PN532
40#define PN532_TFI_HOST 0xD4
42#define PN532_TFI_PN532 0xD5
60 const uint8_t **pdata;
111 Pn532BuildFrameArgs build_frame_args;
112 Pn532ParseFrameArgs parse_frame_args;
113 Pn532IsAckArgs is_ack_args;
114 Pn532BuildAckArgs build_ack_args;
121extern Pn532Vars Pn532V;
126 void (*
const build_frame)(uint8_t *work);
127 void (*
const parse_frame)(uint8_t *work);
128 void (*
const is_ack)(uint8_t *work);
129 void (*
const build_ack)(uint8_t *work);
134void protocore_pn532_build_frame(uint8_t *work);
135void protocore_pn532_parse_frame(uint8_t *work);
136void protocore_pn532_is_ack(uint8_t *work);
137void protocore_pn532_build_ack(uint8_t *work);
143static const Pn532Ns Pn532 __attribute__((unused)) = {
144 .build_frame = protocore_pn532_build_frame,
145 .parse_frame = protocore_pn532_parse_frame,
146 .is_ack = protocore_pn532_is_ack,
147 .build_ack = protocore_pn532_build_ack,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS