nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ st25r3911b_multiple_reg_write()

int st25r3911b_multiple_reg_write ( uint8_t  start_reg,
uint8_t *  val,
size_t  len 
)

#include <lib/st25r3911b/st25r3911b_spi.h>

Write multiple NFC Reader registers.

The register address is auto-incrementing. Registers are written in the order ascending from the starting address.

Parameters
[in]start_regThe address of the register from which the writing will start. See Registers for the register addresses.
[in]valRegister values to write.
[in]lenNumber of registers to write.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.