LibDriver FM11RFXX
Loading...
Searching...
No Matches
fm11rfxx basic driver function

fm11rfxx basic driver modules More...

Collaboration diagram for fm11rfxx basic driver function:

Data Structures

struct  fm11rfxx_handle_s
 fm11rfxx handle structure definition More...
struct  fm11rfxx_info_s
 fm11rfxx information structure definition More...

Typedefs

typedef struct fm11rfxx_handle_s fm11rfxx_handle_t
 fm11rfxx handle structure definition
typedef struct fm11rfxx_info_s fm11rfxx_info_t
 fm11rfxx information structure definition

Enumerations

enum  fm11rfxx_type_t { FM11RFXX_TYPE_INVALID = 0x00 , FM11RFXX_TYPE_FM11RF08 = 0x01 , FM11RFXX_TYPE_FM11RF32 = 0x02 }
 fm11rfxx type enumeration definition More...
enum  fm11rfxx_load_modulation_t { FM11RFXX_LOAD_MODULATION_NORMAL = 0x00 , FM11RFXX_LOAD_MODULATION_STRONG = 0x01 }
 fm11rfxx load modulation enumeration definition More...
enum  fm11rfxx_personalized_uid_t { FM11RFXX_PERSONALIZED_UID_0 = 0x00 , FM11RFXX_PERSONALIZED_UID_1 = 0x40 , FM11RFXX_PERSONALIZED_UID_2 = 0x20 , FM11RFXX_PERSONALIZED_UID_3 = 0x60 }
 fm11rfxx personalized uid enumeration definition More...
enum  fm11rfxx_authentication_key_t { FM11RFXX_AUTHENTICATION_KEY_A = 0x00 , FM11RFXX_AUTHENTICATION_KEY_B = 0x01 }
 fm11rfxx authentication key enumeration definition More...

Functions

uint8_t fm11rfxx_info (fm11rfxx_info_t *info)
 get chip information
uint8_t fm11rfxx_init (fm11rfxx_handle_t *handle)
 initialize the chip
uint8_t fm11rfxx_deinit (fm11rfxx_handle_t *handle)
 close the chip
uint8_t fm11rfxx_request (fm11rfxx_handle_t *handle, fm11rfxx_type_t *type)
 fm11rfxx request
uint8_t fm11rfxx_wake_up (fm11rfxx_handle_t *handle, fm11rfxx_type_t *type)
 fm11rfxx wake up
uint8_t fm11rfxx_halt (fm11rfxx_handle_t *handle)
 fm11rfxx halt
uint8_t fm11rfxx_set_modulation (fm11rfxx_handle_t *handle, fm11rfxx_load_modulation_t mod)
 fm11rfxx set the load modulation
uint8_t fm11rfxx_set_personalized_uid (fm11rfxx_handle_t *handle, fm11rfxx_personalized_uid_t type)
 fm11rfxx set the personalized uid
uint8_t fm11rfxx_anticollision_cl1 (fm11rfxx_handle_t *handle, uint8_t id[4])
 fm11rfxx anti collision cl1
uint8_t fm11rfxx_anticollision_cl2 (fm11rfxx_handle_t *handle, uint8_t id[4])
 fm11rfxx anti collision cl2
uint8_t fm11rfxx_select_cl1 (fm11rfxx_handle_t *handle, uint8_t id[4])
 fm11rfxx select cl1
uint8_t fm11rfxx_select_cl2 (fm11rfxx_handle_t *handle, uint8_t id[4])
 fm11rfxx select cl2
uint8_t fm11rfxx_authentication (fm11rfxx_handle_t *handle, uint8_t id[4], uint8_t block, fm11rfxx_authentication_key_t key_type, uint8_t key[6])
 fm11rfxx authentication
uint8_t fm11rfxx_read (fm11rfxx_handle_t *handle, uint8_t block, uint8_t data[16])
 fm11rfxx read
uint8_t fm11rfxx_write (fm11rfxx_handle_t *handle, uint8_t block, uint8_t data[16])
 fm11rfxx write
uint8_t fm11rfxx_value_init (fm11rfxx_handle_t *handle, uint8_t block, int32_t value, uint8_t addr)
 fm11rfxx init one block as a value block
uint8_t fm11rfxx_value_write (fm11rfxx_handle_t *handle, uint8_t block, int32_t value, uint8_t addr)
 fm11rfxx value write
uint8_t fm11rfxx_value_read (fm11rfxx_handle_t *handle, uint8_t block, int32_t *value, uint8_t *addr)
 fm11rfxx value read
uint8_t fm11rfxx_increment (fm11rfxx_handle_t *handle, uint8_t block, uint32_t value)
 fm11rfxx increment
uint8_t fm11rfxx_decrement (fm11rfxx_handle_t *handle, uint8_t block, uint32_t value)
 fm11rfxx decrement
uint8_t fm11rfxx_transfer (fm11rfxx_handle_t *handle, uint8_t block)
 fm11rfxx transfer
uint8_t fm11rfxx_restore (fm11rfxx_handle_t *handle, uint8_t block)
 fm11rfxx restore
uint8_t fm11rfxx_block_to_sector (fm11rfxx_handle_t *handle, uint8_t block, uint8_t *sector)
 fm11rfxx block number to sector number
uint8_t fm11rfxx_sector_block_count (fm11rfxx_handle_t *handle, uint8_t sector, uint8_t *count)
 fm11rfxx get the sector's block counter
uint8_t fm11rfxx_sector_first_block (fm11rfxx_handle_t *handle, uint8_t sector, uint8_t *block)
 fm11rfxx get the sector's first block
uint8_t fm11rfxx_sector_last_block (fm11rfxx_handle_t *handle, uint8_t sector, uint8_t *block)
 fm11rfxx get the sector's last block
uint8_t fm11rfxx_set_sector_permission (fm11rfxx_handle_t *handle, uint8_t sector, uint8_t key_a[6], uint8_t block_0_0_4, uint8_t block_1_5_9, uint8_t block_2_10_14, uint8_t block_3_15, uint8_t user_data, uint8_t key_b[6])
 fm11rfxx set the sector permission
uint8_t fm11rfxx_get_sector_permission (fm11rfxx_handle_t *handle, uint8_t sector, uint8_t *block_0_0_4, uint8_t *block_1_5_9, uint8_t *block_2_10_14, uint8_t *block_3_15, uint8_t *user_data, uint8_t key_b[6])
 fm11rfxx get the sector permission

Detailed Description

fm11rfxx basic driver modules

Typedef Documentation

◆ fm11rfxx_handle_t

fm11rfxx handle structure definition

◆ fm11rfxx_info_t

fm11rfxx information structure definition

Enumeration Type Documentation

◆ fm11rfxx_authentication_key_t

fm11rfxx authentication key enumeration definition

Enumerator
FM11RFXX_AUTHENTICATION_KEY_A 

authentication key a

FM11RFXX_AUTHENTICATION_KEY_B 

authentication key b

Definition at line 96 of file driver_fm11rfxx.h.

◆ fm11rfxx_load_modulation_t

fm11rfxx load modulation enumeration definition

Enumerator
FM11RFXX_LOAD_MODULATION_NORMAL 

normal load modulation

FM11RFXX_LOAD_MODULATION_STRONG 

strong load modulation

Definition at line 72 of file driver_fm11rfxx.h.

◆ fm11rfxx_personalized_uid_t

fm11rfxx personalized uid enumeration definition

Enumerator
FM11RFXX_PERSONALIZED_UID_0 

anti-collision and selection with the double size UID according to ISO/IEC 14443-3

FM11RFXX_PERSONALIZED_UID_1 

anti-collision and selection with the double size UID according to ISO/IEC 14443-3 and optional usage of a selection process shortcut

FM11RFXX_PERSONALIZED_UID_2 

anti-collision and selection with a single size random ID according to ISO/IEC 14443-3

FM11RFXX_PERSONALIZED_UID_3 

anti-collision and selection with a single size NUID according to ISO/IEC 14443-3 where the NUID is calculated out of the 7-byte UID

Definition at line 81 of file driver_fm11rfxx.h.

◆ fm11rfxx_type_t

fm11rfxx type enumeration definition

Enumerator
FM11RFXX_TYPE_INVALID 

invalid

FM11RFXX_TYPE_FM11RF08 

fm11rf08

FM11RFXX_TYPE_FM11RF32 

fm11rf32

Definition at line 62 of file driver_fm11rfxx.h.

Function Documentation

◆ fm11rfxx_anticollision_cl1()

uint8_t fm11rfxx_anticollision_cl1 ( fm11rfxx_handle_t * handle,
uint8_t id[4] )

fm11rfxx anti collision cl1

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[out]*idpointer to an id buffer
Returns
status code
  • 0 success
  • 1 anti collision cl1 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 check error
Note
none

Definition at line 503 of file driver_fm11rfxx.c.

◆ fm11rfxx_anticollision_cl2()

uint8_t fm11rfxx_anticollision_cl2 ( fm11rfxx_handle_t * handle,
uint8_t id[4] )

fm11rfxx anti collision cl2

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[out]*idpointer to an id buffer
Returns
status code
  • 0 success
  • 1 anti collision cl2 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 check error
Note
none

Definition at line 568 of file driver_fm11rfxx.c.

◆ fm11rfxx_authentication()

uint8_t fm11rfxx_authentication ( fm11rfxx_handle_t * handle,
uint8_t id[4],
uint8_t block,
fm11rfxx_authentication_key_t key_type,
uint8_t key[6] )

fm11rfxx authentication

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]*idpointer to an id buffer
[in]blockblock of authentication
[in]key_typeauthentication key type
[in]*keypointer to a key buffer
Returns
status code
  • 0 success
  • 1 authentication failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 768 of file driver_fm11rfxx.c.

◆ fm11rfxx_block_to_sector()

uint8_t fm11rfxx_block_to_sector ( fm11rfxx_handle_t * handle,
uint8_t block,
uint8_t * sector )

fm11rfxx block number to sector number

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock number
[out]*sectorpointer to a sector number buffer
Returns
status code
  • 0 success
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1589 of file driver_fm11rfxx.c.

◆ fm11rfxx_decrement()

uint8_t fm11rfxx_decrement ( fm11rfxx_handle_t * handle,
uint8_t block,
uint32_t value )

fm11rfxx decrement

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of decrement
[in]valuedecrement value
Returns
status code
  • 0 success
  • 1 decrement failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
  • 6 invalid operation
Note
none

Definition at line 1376 of file driver_fm11rfxx.c.

◆ fm11rfxx_deinit()

uint8_t fm11rfxx_deinit ( fm11rfxx_handle_t * handle)

close the chip

Parameters
[in]*handlepointer to a fm11rfxx handle structure
Returns
status code
  • 0 success
  • 1 contactless deinit failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 166 of file driver_fm11rfxx.c.

◆ fm11rfxx_get_sector_permission()

uint8_t fm11rfxx_get_sector_permission ( fm11rfxx_handle_t * handle,
uint8_t sector,
uint8_t * block_0_0_4,
uint8_t * block_1_5_9,
uint8_t * block_2_10_14,
uint8_t * block_3_15,
uint8_t * user_data,
uint8_t key_b[6] )

fm11rfxx get the sector permission

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]sectorsector number
[out]*block_0_0_4pointer to a block0(block0-4) permission buffer
[out]*block_1_5_9pointer to a block1(block5-9) permission buffer
[out]*block_2_10_14pointer to a block2(block10-14) permission buffer
[out]*block_3_15pointer to a block3(block15) permission buffer
[out]*user_datapointer to a user data buffer
[out]*key_bpointer to a key b buffer
Returns
status code
  • 0 success
  • 1 get sector permission failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 crc error
  • 6 data is invalid
Note
none

Definition at line 1883 of file driver_fm11rfxx.c.

◆ fm11rfxx_halt()

uint8_t fm11rfxx_halt ( fm11rfxx_handle_t * handle)

fm11rfxx halt

Parameters
[in]*handlepointer to a fm11rfxx handle structure
Returns
status code
  • 0 success
  • 1 halt failed
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 341 of file driver_fm11rfxx.c.

◆ fm11rfxx_increment()

uint8_t fm11rfxx_increment ( fm11rfxx_handle_t * handle,
uint8_t block,
uint32_t value )

fm11rfxx increment

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of increment
[in]valueincrement value
Returns
status code
  • 0 success
  • 1 increment failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
  • 6 invalid operation
Note
none

Definition at line 1298 of file driver_fm11rfxx.c.

◆ fm11rfxx_info()

uint8_t fm11rfxx_info ( fm11rfxx_info_t * info)

get chip information

Parameters
[out]*infopointer to a fm11rfxx info structure
Returns
status code
  • 0 success
  • 2 handle is NULL
Note
none

Definition at line 2032 of file driver_fm11rfxx.c.

◆ fm11rfxx_init()

uint8_t fm11rfxx_init ( fm11rfxx_handle_t * handle)

initialize the chip

Parameters
[in]*handlepointer to a fm11rfxx handle structure
Returns
status code
  • 0 success
  • 1 contactless initialization failed
  • 2 handle is NULL
  • 3 linked functions is NULL
Note
none

Definition at line 106 of file driver_fm11rfxx.c.

◆ fm11rfxx_read()

uint8_t fm11rfxx_read ( fm11rfxx_handle_t * handle,
uint8_t block,
uint8_t data[16] )

fm11rfxx read

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of read
[out]*datapointer to a data buffer
Returns
status code
  • 0 success
  • 1 read failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 crc error
Note
none

Definition at line 832 of file driver_fm11rfxx.c.

◆ fm11rfxx_request()

uint8_t fm11rfxx_request ( fm11rfxx_handle_t * handle,
fm11rfxx_type_t * type )

fm11rfxx request

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[out]*typepointer to a type buffer
Returns
status code
  • 0 success
  • 1 request failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 type is invalid
Note
none

Definition at line 204 of file driver_fm11rfxx.c.

◆ fm11rfxx_restore()

uint8_t fm11rfxx_restore ( fm11rfxx_handle_t * handle,
uint8_t block )

fm11rfxx restore

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of restore
Returns
status code
  • 0 success
  • 1 restore failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
  • 6 invalid operation
Note
none

Definition at line 1518 of file driver_fm11rfxx.c.

◆ fm11rfxx_sector_block_count()

uint8_t fm11rfxx_sector_block_count ( fm11rfxx_handle_t * handle,
uint8_t sector,
uint8_t * count )

fm11rfxx get the sector's block counter

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]sectorsector number
[out]*countpointer to a count buffer
Returns
status code
  • 0 success
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1623 of file driver_fm11rfxx.c.

◆ fm11rfxx_sector_first_block()

uint8_t fm11rfxx_sector_first_block ( fm11rfxx_handle_t * handle,
uint8_t sector,
uint8_t * block )

fm11rfxx get the sector's first block

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]sectorsector number
[out]*blockpointer to a block number buffer
Returns
status code
  • 0 success
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1657 of file driver_fm11rfxx.c.

◆ fm11rfxx_sector_last_block()

uint8_t fm11rfxx_sector_last_block ( fm11rfxx_handle_t * handle,
uint8_t sector,
uint8_t * block )

fm11rfxx get the sector's last block

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]sectorsector number
[out]*blockpointer to a block number buffer
Returns
status code
  • 0 success
  • 2 handle is NULL
  • 3 handle is not initialized
Note
none

Definition at line 1691 of file driver_fm11rfxx.c.

◆ fm11rfxx_select_cl1()

uint8_t fm11rfxx_select_cl1 ( fm11rfxx_handle_t * handle,
uint8_t id[4] )

fm11rfxx select cl1

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]*idpointer to an id buffer
Returns
status code
  • 0 success
  • 1 select cl1 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 sak error
Note
none

Definition at line 633 of file driver_fm11rfxx.c.

◆ fm11rfxx_select_cl2()

uint8_t fm11rfxx_select_cl2 ( fm11rfxx_handle_t * handle,
uint8_t id[4] )

fm11rfxx select cl2

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]*idpointer to an id buffer
Returns
status code
  • 0 success
  • 1 select cl2 failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 sak error
Note
none

Definition at line 700 of file driver_fm11rfxx.c.

◆ fm11rfxx_set_modulation()

uint8_t fm11rfxx_set_modulation ( fm11rfxx_handle_t * handle,
fm11rfxx_load_modulation_t mod )

fm11rfxx set the load modulation

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]modload modulation
Returns
status code
  • 0 success
  • 1 set modulation failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
Note
none

Definition at line 381 of file driver_fm11rfxx.c.

◆ fm11rfxx_set_personalized_uid()

uint8_t fm11rfxx_set_personalized_uid ( fm11rfxx_handle_t * handle,
fm11rfxx_personalized_uid_t type )

fm11rfxx set the personalized uid

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]typepersonalized uid type
Returns
status code
  • 0 success
  • 1 set personalized uid failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
Note
none

Definition at line 442 of file driver_fm11rfxx.c.

◆ fm11rfxx_set_sector_permission()

uint8_t fm11rfxx_set_sector_permission ( fm11rfxx_handle_t * handle,
uint8_t sector,
uint8_t key_a[6],
uint8_t block_0_0_4,
uint8_t block_1_5_9,
uint8_t block_2_10_14,
uint8_t block_3_15,
uint8_t user_data,
uint8_t key_b[6] )

fm11rfxx set the sector permission

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]sectorsector number
[in]*key_apointer to a key a buffer
[in]block_0_0_4block0(block0-4) permission
[in]block_1_5_9block1(block5-9) permission
[in]block_2_10_14block2(block10-14) permission
[in]block_3_15block3(block15) permission
[in]user_datauser data
[in]*key_bpointer to a key b buffer
Returns
status code
  • 0 success
  • 1 set sector permission failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
Note
block_0_0_4, block_1_5_9, block_2_10_14, permission(c1_c2_c3) definition is below c1 c2 c3 read write increment decrement/transfer/restore 0 0 0 keya|b keya|b keya|b keya|b 0 1 0 keya|b never never never 1 0 0 keya|b keyb never never 1 1 0 keya|b keyb keyb keya|b 0 0 1 keya|b never never keya|b 0 1 1 keyb keyb never never 1 0 1 keyb never never never 1 1 1 never never never never

block_3_15 permission(c1_c2_c3) definition is below c1 c2 c3 keya_read keya_write access_read access_write keyb_read keyb_write 0 0 0 never keya keya never keya keya 0 1 0 never never keya never keya never 1 0 0 never keyb keya|b never never keyb 1 1 0 never never keya|b never never never 0 0 1 never keya keya keya keya keya 0 1 1 never keyb keya|b keyb never keyb 1 0 1 never never keya|b keyb never never 1 1 1 never never keya|b never never never

Definition at line 1755 of file driver_fm11rfxx.c.

◆ fm11rfxx_transfer()

uint8_t fm11rfxx_transfer ( fm11rfxx_handle_t * handle,
uint8_t block )

fm11rfxx transfer

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of transfer
Returns
status code
  • 0 success
  • 1 transfer failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
  • 6 invalid operation
Note
none

Definition at line 1453 of file driver_fm11rfxx.c.

◆ fm11rfxx_value_init()

uint8_t fm11rfxx_value_init ( fm11rfxx_handle_t * handle,
uint8_t block,
int32_t value,
uint8_t addr )

fm11rfxx init one block as a value block

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of init
[in]valueinited value
[in]addraddress
Returns
status code
  • 0 success
  • 1 value init failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
Note
none

Definition at line 979 of file driver_fm11rfxx.c.

◆ fm11rfxx_value_read()

uint8_t fm11rfxx_value_read ( fm11rfxx_handle_t * handle,
uint8_t block,
int32_t * value,
uint8_t * addr )

fm11rfxx value read

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of read
[out]*valuepointer to a value buffer
[out]*addrpointer to an address buffer
Returns
status code
  • 0 success
  • 1 value read failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 crc error
  • 6 value is invalid
  • 7 block is invalid
Note
none

Definition at line 1189 of file driver_fm11rfxx.c.

◆ fm11rfxx_value_write()

uint8_t fm11rfxx_value_write ( fm11rfxx_handle_t * handle,
uint8_t block,
int32_t value,
uint8_t addr )

fm11rfxx value write

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of write
[in]valuewritten value
[in]addraddress
Returns
status code
  • 0 success
  • 1 value write failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
Note
none

Definition at line 1083 of file driver_fm11rfxx.c.

◆ fm11rfxx_wake_up()

uint8_t fm11rfxx_wake_up ( fm11rfxx_handle_t * handle,
fm11rfxx_type_t * type )

fm11rfxx wake up

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[out]*typepointer to a type buffer
Returns
status code
  • 0 success
  • 1 wake up failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 type is invalid
Note
none

Definition at line 274 of file driver_fm11rfxx.c.

◆ fm11rfxx_write()

uint8_t fm11rfxx_write ( fm11rfxx_handle_t * handle,
uint8_t block,
uint8_t data[16] )

fm11rfxx write

Parameters
[in]*handlepointer to a fm11rfxx handle structure
[in]blockblock of write
[in]*datapointer to a data buffer
Returns
status code
  • 0 success
  • 1 write failed
  • 2 handle is NULL
  • 3 handle is not initialized
  • 4 output_len is invalid
  • 5 ack error
Note
none

Definition at line 897 of file driver_fm11rfxx.c.