Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

pn512.c File Reference

pn512.c File Reference

Copyright (c) ARM Ltd 2013 More...

Go to the source code of this file.

Transceiver

Implementation of the transceiver interface


static const transceiver_impl_t pn512_impl
nfc_err_t pn512_init (pn512_t *pPN512, nfc_transport_t *pTransport, nfc_scheduler_timer_t *pTimer)
 Initialize PN512 transceiver.
nfc_transceiver_t * pn512_get_transceiver (pn512_t *pPN512)
 Get pointer to nfc_transceiver_t structure.
void pn512_set_protocols (nfc_transceiver_t *pTransceiver, nfc_tech_t initiators, nfc_tech_t targets, polling_options_t options)
void pn512_poll (nfc_transceiver_t *pTransceiver)
void pn512_set_crc (nfc_transceiver_t *pTransceiver, bool crc_out, bool crc_in)
void pn512_set_timeout (nfc_transceiver_t *pTransceiver, int timeout)
void pn512_set_transceive_options (nfc_transceiver_t *pTransceiver, bool transmit, bool receive, bool repoll)
void pn512_set_transceive_framing (nfc_transceiver_t *pTransceiver, nfc_framing_t framing)
void pn512_set_write (nfc_transceiver_t *pTransceiver, ac_buffer_t *pWriteBuf)
ac_buffer_t * pn512_get_read (nfc_transceiver_t *pTransceiver)
void pn512_set_last_byte_length (nfc_transceiver_t *pTransceiver, size_t lastByteLength)
void pn512_set_first_byte_align (nfc_transceiver_t *pTransceiver, size_t firstByteAlign)
size_t pn512_get_last_byte_length (nfc_transceiver_t *pTransceiver)
void pn512_transceive (nfc_transceiver_t *pTransceiver)
void pn512_abort (nfc_transceiver_t *pTransceiver)
void pn512_close (nfc_transceiver_t *pTransceiver)
void pn512_sleep (nfc_transceiver_t *pTransceiver, bool sleep)
void pn512_transceiver_callback (pn512_t *pPN512, nfc_err_t ret)

Detailed Description

Copyright (c) ARM Ltd 2013

Author:
Donatien Garnier

PN512 implementation of the transceiver interface

Definition in file pn512.c.