Mistake on this page?
Report an issue in GitHub or email us
Data Structures
Implementation

Data Structures

struct  __transport
 

Transport

typedef void(* nfc_transport_write_fn_t) (uint8_t address, const uint8_t *outBuf, size_t outLen, void *pUser)
 Function called to write a register's value. More...
 
typedef void(* nfc_transport_read_fn_t) (uint8_t address, uint8_t *inBuf, size_t inLen, void *pUser)
 Function called to read a register's value. More...
 
typedef struct __transport nfc_transport_t
 
void nfc_transport_init (nfc_transport_t *pTransport, nfc_transport_write_fn_t write, nfc_transport_read_fn_t read, void *pUser)
 
static void nfc_transport_write (nfc_transport_t *pTransport, uint8_t address, const uint8_t *outBuf, size_t outLen)
 
static void nfc_transport_read (nfc_transport_t *pTransport, uint8_t address, uint8_t *inBuf, size_t inLen)
 

Detailed Description

Typedef Documentation

typedef void(* nfc_transport_read_fn_t) (uint8_t address, uint8_t *inBuf, size_t inLen, void *pUser)

Function called to read a register's value.

Parameters
addressaddress to read packet from
outBufbuffer to read
outLenbuffer's length
pUserparameter passed to the nfc_transport_init function

Definition at line 53 of file nfc_transport.h.

typedef void(* nfc_transport_write_fn_t) (uint8_t address, const uint8_t *outBuf, size_t outLen, void *pUser)

Function called to write a register's value.

Parameters
addressaddress of the register to write to
outBufbuffer to write
outLenbuffer's length
pUserparameter passed to the nfc_transport_init function

Definition at line 45 of file nfc_transport.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.