![]() |
LibDriver MFRC522
|
mfrc522 basic driver modules More...
Data Structures | |
| struct | mfrc522_handle_s |
| mfrc522 handle structure definition More... | |
| struct | mfrc522_info_s |
| mfrc522 information structure definition More... | |
Typedefs | |
| typedef struct mfrc522_handle_s | mfrc522_handle_t |
| mfrc522 handle structure definition | |
| typedef struct mfrc522_info_s | mfrc522_info_t |
| mfrc522 information structure definition | |
Functions | |
| uint8_t | mfrc522_info (mfrc522_info_t *info) |
| get chip information | |
| uint8_t | mfrc522_set_interface (mfrc522_handle_t *handle, mfrc522_interface_t interface) |
| set the chip interface | |
| uint8_t | mfrc522_get_interface (mfrc522_handle_t *handle, mfrc522_interface_t *interface) |
| get the chip interface | |
| uint8_t | mfrc522_set_addr_pin (mfrc522_handle_t *handle, uint8_t addr_pin) |
| set the iic address pin | |
| uint8_t | mfrc522_get_addr_pin (mfrc522_handle_t *handle, uint8_t *addr_pin) |
| get the iic address pin | |
| uint8_t | mfrc522_irq_handler (mfrc522_handle_t *handle) |
| irq handler | |
| uint8_t | mfrc522_init (mfrc522_handle_t *handle) |
| initialize the chip | |
| uint8_t | mfrc522_deinit (mfrc522_handle_t *handle) |
| close the chip | |
| uint8_t | mfrc522_transceiver (mfrc522_handle_t *handle, mfrc522_command_t command, uint8_t *in_buf, uint8_t in_len, uint8_t *out_buf, uint8_t *out_len, uint8_t *err, uint32_t ms) |
| mfrc522 transceiver | |
| uint8_t | mfrc522_set_receiver_analog (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable the analog part of the receiver | |
| uint8_t | mfrc522_get_receiver_analog (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the analog part of the receiver status | |
| uint8_t | mfrc522_set_power_down (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable power down | |
| uint8_t | mfrc522_get_power_down (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get power down status | |
| uint8_t | mfrc522_set_command (mfrc522_handle_t *handle, mfrc522_command_t command) |
| set the command | |
| uint8_t | mfrc522_get_command (mfrc522_handle_t *handle, mfrc522_command_t *command) |
| get the command | |
| uint8_t | mfrc522_set_interrupt1 (mfrc522_handle_t *handle, mfrc522_interrupt1_t type, mfrc522_bool_t enable) |
| enable or disable the interrupt1 | |
| uint8_t | mfrc522_get_interrupt1 (mfrc522_handle_t *handle, mfrc522_interrupt1_t type, mfrc522_bool_t *enable) |
| get the interrupt1 status | |
| uint8_t | mfrc522_set_interrupt1_pin_invert (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable interrupt1 pin invert | |
| uint8_t | mfrc522_get_interrupt1_pin_invert (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the interrupt1 pin invert status | |
| uint8_t | mfrc522_set_interrupt1_mark (mfrc522_handle_t *handle, mfrc522_interrupt_mark_t mark) |
| set the interrupt1 mark | |
| uint8_t | mfrc522_set_interrupt2 (mfrc522_handle_t *handle, mfrc522_interrupt2_t type, mfrc522_bool_t enable) |
| enable or disable the interrupt2 | |
| uint8_t | mfrc522_get_interrupt2 (mfrc522_handle_t *handle, mfrc522_interrupt2_t type, mfrc522_bool_t *enable) |
| get the interrupt2 status | |
| uint8_t | mfrc522_set_interrupt_pin_type (mfrc522_handle_t *handle, mfrc522_interrupt_pin_type_t type) |
| set the interrupt pin type | |
| uint8_t | mfrc522_get_interrupt_pin_type (mfrc522_handle_t *handle, mfrc522_interrupt_pin_type_t *type) |
| get the interrupt pin type | |
| uint8_t | mfrc522_set_interrupt2_mark (mfrc522_handle_t *handle, mfrc522_interrupt_mark_t mark) |
| set the interrupt2 mark | |
| uint8_t | mfrc522_get_interrupt1_status (mfrc522_handle_t *handle, uint8_t *status) |
| get the interrupt1 status | |
| uint8_t | mfrc522_get_interrupt2_status (mfrc522_handle_t *handle, uint8_t *status) |
| get the interrupt2 status | |
| uint8_t | mfrc522_get_error (mfrc522_handle_t *handle, uint8_t *err) |
| get the error | |
| uint8_t | mfrc522_get_status1 (mfrc522_handle_t *handle, uint8_t *status) |
| get the status1 | |
| uint8_t | mfrc522_get_status2 (mfrc522_handle_t *handle, uint8_t *status) |
| get the status2 | |
| uint8_t | mfrc522_get_modem_state (mfrc522_handle_t *handle, mfrc522_modem_state_t *state) |
| get the modem state | |
| uint8_t | mfrc522_set_mifare_crypto1_on (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable mifare crypto1 on | |
| uint8_t | mfrc522_set_force_iic_high_speed (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable force iic high speed | |
| uint8_t | mfrc522_get_force_iic_high_speed (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the iic high speed status | |
| uint8_t | mfrc522_set_clear_temperature_error (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable clear temperature error | |
| uint8_t | mfrc522_get_clear_temperature_error (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the clear temperature error status | |
| uint8_t | mfrc522_set_fifo_data (mfrc522_handle_t *handle, uint8_t *data, uint8_t len) |
| set the fifo data | |
| uint8_t | mfrc522_get_fifo_data (mfrc522_handle_t *handle, uint8_t *data, uint8_t len) |
| get the fifo data | |
| uint8_t | mfrc522_get_fifo_level (mfrc522_handle_t *handle, uint8_t *level) |
| get the fifo level | |
| uint8_t | mfrc522_flush_fifo (mfrc522_handle_t *handle) |
| flush the fifo | |
| uint8_t | mfrc522_set_water_level (mfrc522_handle_t *handle, uint8_t level) |
| set the water level | |
| uint8_t | mfrc522_get_water_level (mfrc522_handle_t *handle, uint8_t *level) |
| get the water level | |
| uint8_t | mfrc522_stop_timer (mfrc522_handle_t *handle) |
| stop the timer | |
| uint8_t | mfrc522_start_timer (mfrc522_handle_t *handle) |
| start the timer | |
| uint8_t | mfrc522_get_rx_last_bits (mfrc522_handle_t *handle, uint8_t *bits) |
| get the rx last bits | |
| uint8_t | mfrc522_start_send (mfrc522_handle_t *handle) |
| start the transmission of data | |
| uint8_t | mfrc522_stop_send (mfrc522_handle_t *handle) |
| stop the transmission of data | |
| uint8_t | mfrc522_set_tx_last_bits (mfrc522_handle_t *handle, uint8_t bits) |
| set the tx last bits | |
| uint8_t | mfrc522_get_tx_last_bits (mfrc522_handle_t *handle, uint8_t *bits) |
| get the tx last bits | |
| uint8_t | mfrc522_set_rx_align (mfrc522_handle_t *handle, mfrc522_rx_align_t align) |
| set the rx align | |
| uint8_t | mfrc522_get_rx_align (mfrc522_handle_t *handle, mfrc522_rx_align_t *align) |
| get the rx align | |
| uint8_t | mfrc522_set_value_clear_after_coll (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable value clear after coll | |
| uint8_t | mfrc522_get_value_clear_after_coll (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the value clear after coll status | |
| uint8_t | mfrc522_get_collision_position_not_valid (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the collision position not valid bit status | |
| uint8_t | mfrc522_get_collision_position (mfrc522_handle_t *handle, uint8_t *pos) |
| get the collision position | |
| uint8_t | mfrc522_set_crc_msb_first (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable the crc msb first | |
| uint8_t | mfrc522_get_crc_msb_first (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the crc msb first | |
| uint8_t | mfrc522_set_tx_wait_rf (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable the rf tx wait | |
| uint8_t | mfrc522_get_tx_wait_rf (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the rf tx wait status | |
| uint8_t | mfrc522_set_mfin_polarity (mfrc522_handle_t *handle, mfrc522_mfin_polarity_t polarity) |
| set the mfin polarity | |
| uint8_t | mfrc522_get_mfin_polarity (mfrc522_handle_t *handle, mfrc522_mfin_polarity_t *polarity) |
| get the mfin polarity | |
| uint8_t | mfrc522_set_crc_preset (mfrc522_handle_t *handle, mfrc522_crc_preset_t preset) |
| set the crc preset | |
| uint8_t | mfrc522_get_crc_preset (mfrc522_handle_t *handle, mfrc522_crc_preset_t *preset) |
| get the crc preset | |
| uint8_t | mfrc522_set_tx_crc_generation (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable tx crc generation | |
| uint8_t | mfrc522_get_tx_crc_generation (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the tx crc generation status | |
| uint8_t | mfrc522_set_tx_speed (mfrc522_handle_t *handle, mfrc522_speed_t speed) |
| set the tx speed | |
| uint8_t | mfrc522_get_tx_speed (mfrc522_handle_t *handle, mfrc522_speed_t *speed) |
| get the tx speed | |
| uint8_t | mfrc522_set_modulation_invert (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable the modulation invert | |
| uint8_t | mfrc522_get_modulation_invert (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the modulation invert status | |
| uint8_t | mfrc522_set_rx_crc_generation (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable the rx crc generation | |
| uint8_t | mfrc522_get_rx_crc_generation (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the rx crc generation status | |
| uint8_t | mfrc522_set_rx_speed (mfrc522_handle_t *handle, mfrc522_speed_t speed) |
| set the rx speed | |
| uint8_t | mfrc522_get_rx_speed (mfrc522_handle_t *handle, mfrc522_speed_t *speed) |
| get the rx speed | |
| uint8_t | mfrc522_set_rx_no_error (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable rx no error | |
| uint8_t | mfrc522_get_rx_no_error (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the rx no error status | |
| uint8_t | mfrc522_set_rx_multiple (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable rx multiple | |
| uint8_t | mfrc522_get_rx_multiple (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the rx multiple status | |
| uint8_t | mfrc522_set_antenna_driver (mfrc522_handle_t *handle, mfrc522_antenna_driver_t driver, mfrc522_bool_t enable) |
| enable or disable the antenna driver | |
| uint8_t | mfrc522_get_antenna_driver (mfrc522_handle_t *handle, mfrc522_antenna_driver_t driver, mfrc522_bool_t *enable) |
| get the antenna driver status | |
| uint8_t | mfrc522_set_force_100_ask (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable force 100 ask | |
| uint8_t | mfrc522_get_force_100_ask (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the force 100 ask status | |
| uint8_t | mfrc522_set_tx_input (mfrc522_handle_t *handle, mfrc522_tx_input_t input) |
| set the tx input | |
| uint8_t | mfrc522_get_tx_input (mfrc522_handle_t *handle, mfrc522_tx_input_t *input) |
| get the tx input | |
| uint8_t | mfrc522_set_mfout_input (mfrc522_handle_t *handle, mfrc522_mfout_input_t input) |
| set the mfout input | |
| uint8_t | mfrc522_get_mfout_input (mfrc522_handle_t *handle, mfrc522_mfout_input_t *input) |
| get the mfout input | |
| uint8_t | mfrc522_set_contactless_uart_input (mfrc522_handle_t *handle, mfrc522_contactless_uart_input_t input) |
| set the contactless uart input | |
| uint8_t | mfrc522_get_contactless_uart_input (mfrc522_handle_t *handle, mfrc522_contactless_uart_input_t *input) |
| get the contactless uart input | |
| uint8_t | mfrc522_set_rx_wait (mfrc522_handle_t *handle, uint8_t t) |
| set the rx wait | |
| uint8_t | mfrc522_get_rx_wait (mfrc522_handle_t *handle, uint8_t *t) |
| get the rx wait | |
| uint8_t | mfrc522_set_min_level (mfrc522_handle_t *handle, uint8_t level) |
| set the min level | |
| uint8_t | mfrc522_get_min_level (mfrc522_handle_t *handle, uint8_t *level) |
| get the min level | |
| uint8_t | mfrc522_set_collision_level (mfrc522_handle_t *handle, uint8_t level) |
| set the collision level | |
| uint8_t | mfrc522_get_collision_level (mfrc522_handle_t *handle, uint8_t *level) |
| get the collision level | |
| uint8_t | mfrc522_set_channel_reception (mfrc522_handle_t *handle, mfrc522_channel_reception_t reception) |
| set the channel reception | |
| uint8_t | mfrc522_get_channel_reception (mfrc522_handle_t *handle, mfrc522_channel_reception_t *reception) |
| get the channel reception | |
| uint8_t | mfrc522_set_fix_iq (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable fix iq | |
| uint8_t | mfrc522_get_fix_iq (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the fix iq status | |
| uint8_t | mfrc522_set_timer_prescal_even (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable timer prescal even | |
| uint8_t | mfrc522_get_timer_prescal_even (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the timer prescal even status | |
| uint8_t | mfrc522_set_timer_constant_reception (mfrc522_handle_t *handle, uint8_t t) |
| set the timer constant reception | |
| uint8_t | mfrc522_get_timer_constant_reception (mfrc522_handle_t *handle, uint8_t *t) |
| get the timer constant reception | |
| uint8_t | mfrc522_set_timer_constant_sync (mfrc522_handle_t *handle, uint8_t t) |
| set the timer constant sync | |
| uint8_t | mfrc522_get_timer_constant_sync (mfrc522_handle_t *handle, uint8_t *t) |
| get the timer constant sync | |
| uint8_t | mfrc522_set_tx_wait (mfrc522_handle_t *handle, uint8_t t) |
| set the tx wait | |
| uint8_t | mfrc522_get_tx_wait (mfrc522_handle_t *handle, uint8_t *t) |
| get the tx wait | |
| uint8_t | mfrc522_set_parity_disable (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable parity disable | |
| uint8_t | mfrc522_get_parity_disable (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the parity disable status | |
| uint8_t | mfrc522_set_serial_speed (mfrc522_handle_t *handle, uint8_t t0, uint8_t t1) |
| set the serial speed | |
| uint8_t | mfrc522_get_serial_speed (mfrc522_handle_t *handle, uint8_t *t0, uint8_t *t1) |
| get the serial speed | |
| uint8_t | mfrc522_get_crc (mfrc522_handle_t *handle, uint16_t *crc) |
| get the crc | |
| uint8_t | mfrc522_set_modulation_width (mfrc522_handle_t *handle, uint8_t width) |
| set the modulation width | |
| uint8_t | mfrc522_get_modulation_width (mfrc522_handle_t *handle, uint8_t *width) |
| get the modulation width | |
| uint8_t | mfrc522_set_rx_gain (mfrc522_handle_t *handle, mfrc522_rx_gain_t gain) |
| set the rx gain | |
| uint8_t | mfrc522_get_rx_gain (mfrc522_handle_t *handle, mfrc522_rx_gain_t *gain) |
| get the rx gain | |
| uint8_t | mfrc522_set_cwgsn (mfrc522_handle_t *handle, uint8_t n) |
| set the cwgsn | |
| uint8_t | mfrc522_get_cwgsn (mfrc522_handle_t *handle, uint8_t *n) |
| get the cwgsn | |
| uint8_t | mfrc522_set_modgsn (mfrc522_handle_t *handle, uint8_t n) |
| set the modgsn | |
| uint8_t | mfrc522_get_modgsn (mfrc522_handle_t *handle, uint8_t *n) |
| get the modgsn | |
| uint8_t | mfrc522_set_cwgsp (mfrc522_handle_t *handle, uint8_t n) |
| set the cwgsp | |
| uint8_t | mfrc522_get_cwgsp (mfrc522_handle_t *handle, uint8_t *n) |
| get the cwgsp | |
| uint8_t | mfrc522_set_modgsp (mfrc522_handle_t *handle, uint8_t n) |
| set the modgsp | |
| uint8_t | mfrc522_get_modgsp (mfrc522_handle_t *handle, uint8_t *n) |
| get the modgsp | |
| uint8_t | mfrc522_set_timer_auto (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable timer auto | |
| uint8_t | mfrc522_get_timer_auto (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the timer auto status | |
| uint8_t | mfrc522_set_timer_gated_mode (mfrc522_handle_t *handle, mfrc522_timer_gated_mode_t mode) |
| set the timer gated mode | |
| uint8_t | mfrc522_get_timer_gated_mode (mfrc522_handle_t *handle, mfrc522_timer_gated_mode_t *mode) |
| get the timer gated mode | |
| uint8_t | mfrc522_set_timer_auto_restart (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
| enable or disable timer auto restart | |
| uint8_t | mfrc522_get_timer_auto_restart (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
| get the timer auto restart status | |
| uint8_t | mfrc522_set_timer_prescaler (mfrc522_handle_t *handle, uint16_t t) |
| set the timer prescaler | |
| uint8_t | mfrc522_get_timer_prescaler (mfrc522_handle_t *handle, uint16_t *t) |
| get the timer prescaler | |
| uint8_t | mfrc522_set_timer_reload (mfrc522_handle_t *handle, uint16_t reload) |
| set the timer reload | |
| uint8_t | mfrc522_get_timer_reload (mfrc522_handle_t *handle, uint16_t *reload) |
| get the timer reload | |
| uint8_t | mfrc522_get_timer_counter (mfrc522_handle_t *handle, uint16_t *cnt) |
| get the timer counter | |
mfrc522 basic driver modules
| typedef struct mfrc522_handle_s mfrc522_handle_t |
mfrc522 handle structure definition
| typedef struct mfrc522_info_s mfrc522_info_t |
mfrc522 information structure definition
mfrc522 antenna driver enumeration definition
Definition at line 250 of file driver_mfrc522.h.
| enum mfrc522_bool_t |
mfrc522 bool enumeration definition
| Enumerator | |
|---|---|
| MFRC522_BOOL_FALSE | disable function |
| MFRC522_BOOL_TRUE | enable function |
Definition at line 72 of file driver_mfrc522.h.
mfrc522 channel reception enumeration definition
Definition at line 307 of file driver_mfrc522.h.
| enum mfrc522_command_t |
mfrc522 command enumeration definition
Definition at line 81 of file driver_mfrc522.h.
mfrc522 contactless uart input enumeration definition
Definition at line 295 of file driver_mfrc522.h.
| enum mfrc522_crc_preset_t |
mfrc522 crc preset enumeration definition
| Enumerator | |
|---|---|
| MFRC522_CRC_PRESET_0000 | 0000h |
| MFRC522_CRC_PRESET_6363 | 6363h |
| MFRC522_CRC_PRESET_A671 | A671h |
| MFRC522_CRC_PRESET_FFFF | FFFFh |
Definition at line 228 of file driver_mfrc522.h.
| enum mfrc522_error_t |
mfrc522 error enumeration definition
Definition at line 156 of file driver_mfrc522.h.
| enum mfrc522_interface_t |
mfrc522 interface enumeration definition
| Enumerator | |
|---|---|
| MFRC522_INTERFACE_IIC | iic interface |
| MFRC522_INTERFACE_SPI | spi interface |
| MFRC522_INTERFACE_UART | uart interface |
Definition at line 62 of file driver_mfrc522.h.
| enum mfrc522_interrupt1_t |
mfrc522 interrupt1 enumeration definition
Definition at line 99 of file driver_mfrc522.h.
| enum mfrc522_interrupt2_t |
mfrc522 interrupt2 enumeration definition
| Enumerator | |
|---|---|
| MFRC522_INTERRUPT2_MFIN_ACT | allows the MFIN active interrupt request to be propagated to pin irq |
| MFRC522_INTERRUPT2_CRC | allows the CRC interrupt request to be propagated to pin irq |
Definition at line 113 of file driver_mfrc522.h.
mfrc522 interrupt mark enumeration definition
| Enumerator | |
|---|---|
| MFRC522_INTERRUPT_MARK_SET | marked 1 |
| MFRC522_INTERRUPT_MARK_CLEARED | marked 0 |
Definition at line 147 of file driver_mfrc522.h.
mfrc522 interrupt pin type enumeration definition
| Enumerator | |
|---|---|
| MFRC522_INTERRUPT_PIN_TYPE_STANDARD_CMOS | standard cmos output pin |
| MFRC522_INTERRUPT_PIN_TYPE_OPEN_DRAIN | open drain output pin |
Definition at line 138 of file driver_mfrc522.h.
| enum mfrc522_interrupt_t |
mfrc522 interrupt1 enumeration definition
Definition at line 122 of file driver_mfrc522.h.
mfrc522 mfin polarity enumeration definition
| Enumerator | |
|---|---|
| MFRC522_MFIN_POLARITY_LOW | polarity of pin mfin is active low |
| MFRC522_MFIN_POLARITY_HIGH | polarity of pin mfin is active high |
Definition at line 219 of file driver_mfrc522.h.
mfrc522 mfout input enumeration definition
Definition at line 281 of file driver_mfrc522.h.
mfrc522 modem state enumeration definition
Definition at line 191 of file driver_mfrc522.h.
| enum mfrc522_rx_align_t |
mfrc522 rx align enumeration definition
Definition at line 205 of file driver_mfrc522.h.
| enum mfrc522_rx_gain_t |
mfrc522 rx gain enumeration definition
| Enumerator | |
|---|---|
| MFRC522_RX_GAIN_18_DB | 18 dB |
| MFRC522_RX_GAIN_23_DB | 23 dB |
| MFRC522_RX_GAIN_33_DB | 33 dB |
| MFRC522_RX_GAIN_38_DB | 38 dB |
| MFRC522_RX_GAIN_43_DB | 43 dB |
| MFRC522_RX_GAIN_48_DB | 48 dB |
Definition at line 317 of file driver_mfrc522.h.
| enum mfrc522_speed_t |
mfrc522 speed enumeration definition
| Enumerator | |
|---|---|
| MFRC522_SPEED_106_KBD | 106 kBd |
| MFRC522_SPEED_212_KBD | 212 kBd |
| MFRC522_SPEED_424_KBD | 424 kBd |
| MFRC522_SPEED_848_KBD | 848 kBd |
Definition at line 239 of file driver_mfrc522.h.
| enum mfrc522_status1_t |
mfrc522 status1 enumeration definition
Definition at line 170 of file driver_mfrc522.h.
| enum mfrc522_status2_t |
mfrc522 status2 enumeration definition
| Enumerator | |
|---|---|
| MFRC522_STATUS2_MFCRYPTO1_ON | indicates that the mifare crypto1 unit is switched on |
Definition at line 183 of file driver_mfrc522.h.
mfrc522 test analog control enumeration definition
Definition at line 340 of file driver_mfrc522.h.
mfrc522 timer gated mode enumeration definition
| Enumerator | |
|---|---|
| MFRC522_TIMER_GATED_MODE_NONE | non gated mode |
| MFRC522_TIMER_GATED_MODE_MFIN | gated by pin MFIN |
| MFRC522_TIMER_GATED_MODE_AUX1 | gated by pin AUX1 |
Definition at line 330 of file driver_mfrc522.h.
| enum mfrc522_tx_input_t |
mfrc522 tx input enumeration definition
Definition at line 267 of file driver_mfrc522.h.
| uint8_t mfrc522_deinit | ( | mfrc522_handle_t * | handle | ) |
close the chip
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 627 of file driver_mfrc522.c.
| uint8_t mfrc522_flush_fifo | ( | mfrc522_handle_t * | handle | ) |
flush the fifo
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 2449 of file driver_mfrc522.c.
| uint8_t mfrc522_get_addr_pin | ( | mfrc522_handle_t * | handle, |
| uint8_t * | addr_pin ) |
get the iic address pin
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *addr_pin | pointer to an address pin buffer |
Definition at line 323 of file driver_mfrc522.c.
| uint8_t mfrc522_get_antenna_driver | ( | mfrc522_handle_t * | handle, |
| mfrc522_antenna_driver_t | driver, | ||
| mfrc522_bool_t * | enable ) |
get the antenna driver status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | driver | antenna driver type |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 4057 of file driver_mfrc522.c.
| uint8_t mfrc522_get_channel_reception | ( | mfrc522_handle_t * | handle, |
| mfrc522_channel_reception_t * | reception ) |
get the channel reception
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *reception | pointer to a channel reception buffer |
Definition at line 4734 of file driver_mfrc522.c.
| uint8_t mfrc522_get_clear_temperature_error | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the clear temperature error status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2284 of file driver_mfrc522.c.
| uint8_t mfrc522_get_collision_level | ( | mfrc522_handle_t * | handle, |
| uint8_t * | level ) |
get the collision level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *level | pointer to a collision level buffer |
Definition at line 4652 of file driver_mfrc522.c.
| uint8_t mfrc522_get_collision_position | ( | mfrc522_handle_t * | handle, |
| uint8_t * | pos ) |
get the collision position
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *pos | pointer to a position buffer |
Definition at line 3071 of file driver_mfrc522.c.
| uint8_t mfrc522_get_collision_position_not_valid | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the collision position not valid bit status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3034 of file driver_mfrc522.c.
| uint8_t mfrc522_get_command | ( | mfrc522_handle_t * | handle, |
| mfrc522_command_t * | command ) |
get the command
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *command | pointer to a set command buffer |
Definition at line 1431 of file driver_mfrc522.c.
| uint8_t mfrc522_get_contactless_uart_input | ( | mfrc522_handle_t * | handle, |
| mfrc522_contactless_uart_input_t * | input ) |
get the contactless uart input
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *input | pointer to a contactless uart input buffer |
Definition at line 4385 of file driver_mfrc522.c.
| uint8_t mfrc522_get_crc | ( | mfrc522_handle_t * | handle, |
| uint16_t * | crc ) |
get the crc
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *crc | pointer to a crc buffer |
Definition at line 5394 of file driver_mfrc522.c.
| uint8_t mfrc522_get_crc_msb_first | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the crc msb first
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3153 of file driver_mfrc522.c.
| uint8_t mfrc522_get_crc_preset | ( | mfrc522_handle_t * | handle, |
| mfrc522_crc_preset_t * | preset ) |
get the crc preset
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *preset | pointer to a crc preset buffer |
Definition at line 3399 of file driver_mfrc522.c.
| uint8_t mfrc522_get_cwgsn | ( | mfrc522_handle_t * | handle, |
| uint8_t * | n ) |
get the cwgsn
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *n | pointer to a param buffer |
Definition at line 5635 of file driver_mfrc522.c.
| uint8_t mfrc522_get_cwgsp | ( | mfrc522_handle_t * | handle, |
| uint8_t * | n ) |
get the cwgsp
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *n | pointer to a param buffer |
Definition at line 5813 of file driver_mfrc522.c.
| uint8_t mfrc522_get_error | ( | mfrc522_handle_t * | handle, |
| uint8_t * | err ) |
get the error
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *err | pointer to an error buffer |
Definition at line 1964 of file driver_mfrc522.c.
| uint8_t mfrc522_get_fifo_data | ( | mfrc522_handle_t * | handle, |
| uint8_t * | data, | ||
| uint8_t | len ) |
get the fifo data
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 2370 of file driver_mfrc522.c.
| uint8_t mfrc522_get_fifo_level | ( | mfrc522_handle_t * | handle, |
| uint8_t * | level ) |
get the fifo level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *level | pointer to a level buffer |
Definition at line 2415 of file driver_mfrc522.c.
| uint8_t mfrc522_get_fix_iq | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the fix iq status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 4816 of file driver_mfrc522.c.
| uint8_t mfrc522_get_force_100_ask | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the force 100 ask status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 4139 of file driver_mfrc522.c.
| uint8_t mfrc522_get_force_iic_high_speed | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the iic high speed status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2202 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interface | ( | mfrc522_handle_t * | handle, |
| mfrc522_interface_t * | interface ) |
get the chip interface
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *interface | pointer to a chip interface buffer |
Definition at line 281 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interrupt1 | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt1_t | type, | ||
| mfrc522_bool_t * | enable ) |
get the interrupt1 status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | type | interrupt1 type |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1515 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interrupt1_pin_invert | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the interrupt1 pin invert status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1597 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interrupt1_status | ( | mfrc522_handle_t * | handle, |
| uint8_t * | status ) |
get the interrupt1 status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 1890 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interrupt2 | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt2_t | type, | ||
| mfrc522_bool_t * | enable ) |
get the interrupt2 status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | type | interrupt2 type |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1726 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interrupt2_status | ( | mfrc522_handle_t * | handle, |
| uint8_t * | status ) |
get the interrupt2 status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 1927 of file driver_mfrc522.c.
| uint8_t mfrc522_get_interrupt_pin_type | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt_pin_type_t * | type ) |
get the interrupt pin type
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *type | pointer to an interrupt pin type buffer |
Definition at line 1808 of file driver_mfrc522.c.
| uint8_t mfrc522_get_mfin_polarity | ( | mfrc522_handle_t * | handle, |
| mfrc522_mfin_polarity_t * | polarity ) |
get the mfin polarity
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *polarity | pointer to a mfin polarity buffer |
Definition at line 3317 of file driver_mfrc522.c.
| uint8_t mfrc522_get_mfout_input | ( | mfrc522_handle_t * | handle, |
| mfrc522_mfout_input_t * | input ) |
get the mfout input
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *input | pointer to a mfout input buffer |
Definition at line 4303 of file driver_mfrc522.c.
| uint8_t mfrc522_get_min_level | ( | mfrc522_handle_t * | handle, |
| uint8_t * | level ) |
get the min level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *level | pointer to a min level buffer |
Definition at line 4563 of file driver_mfrc522.c.
| uint8_t mfrc522_get_modem_state | ( | mfrc522_handle_t * | handle, |
| mfrc522_modem_state_t * | state ) |
get the modem state
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *state | pointer to a modem state buffer |
Definition at line 2075 of file driver_mfrc522.c.
| uint8_t mfrc522_get_modgsn | ( | mfrc522_handle_t * | handle, |
| uint8_t * | n ) |
get the modgsn
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *n | pointer to a param buffer |
Definition at line 5724 of file driver_mfrc522.c.
| uint8_t mfrc522_get_modgsp | ( | mfrc522_handle_t * | handle, |
| uint8_t * | n ) |
get the modgsp
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *n | pointer to a param buffer |
Definition at line 5902 of file driver_mfrc522.c.
| uint8_t mfrc522_get_modulation_invert | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the modulation invert status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3645 of file driver_mfrc522.c.
| uint8_t mfrc522_get_modulation_width | ( | mfrc522_handle_t * | handle, |
| uint8_t * | width ) |
get the modulation width
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *width | pointer to a modulation width buffer |
Definition at line 5466 of file driver_mfrc522.c.
| uint8_t mfrc522_get_parity_disable | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the parity disable status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 5247 of file driver_mfrc522.c.
| uint8_t mfrc522_get_power_down | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get power down status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1349 of file driver_mfrc522.c.
| uint8_t mfrc522_get_receiver_analog | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the analog part of the receiver status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 1267 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_align | ( | mfrc522_handle_t * | handle, |
| mfrc522_rx_align_t * | align ) |
get the rx align
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *align | pointer to a rx align buffer |
Definition at line 2915 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_crc_generation | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the rx crc generation status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3727 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_gain | ( | mfrc522_handle_t * | handle, |
| mfrc522_rx_gain_t * | gain ) |
get the rx gain
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *gain | pointer to an rx gain buffer |
Definition at line 5546 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_last_bits | ( | mfrc522_handle_t * | handle, |
| uint8_t * | bits ) |
get the rx last bits
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *bits | pointer to a bits buffer |
Definition at line 2657 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_multiple | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the rx multiple status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3973 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_no_error | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the rx no error status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3891 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_speed | ( | mfrc522_handle_t * | handle, |
| mfrc522_speed_t * | speed ) |
get the rx speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *speed | pointer to an rx speed buffer |
Definition at line 3809 of file driver_mfrc522.c.
| uint8_t mfrc522_get_rx_wait | ( | mfrc522_handle_t * | handle, |
| uint8_t * | t ) |
get the rx wait
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *t | pointer to an rx wait buffer |
Definition at line 4474 of file driver_mfrc522.c.
| uint8_t mfrc522_get_serial_speed | ( | mfrc522_handle_t * | handle, |
| uint8_t * | t0, | ||
| uint8_t * | t1 ) |
get the serial speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *t0 | pointer to a speed parm0 buffer |
| [out] | *t1 | pointer to a speed parm1 buffer |
Definition at line 5356 of file driver_mfrc522.c.
| uint8_t mfrc522_get_status1 | ( | mfrc522_handle_t * | handle, |
| uint8_t * | status ) |
get the status1
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 2001 of file driver_mfrc522.c.
| uint8_t mfrc522_get_status2 | ( | mfrc522_handle_t * | handle, |
| uint8_t * | status ) |
get the status2
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *status | pointer to a status buffer |
Definition at line 2038 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_auto | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the timer auto status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 5984 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_auto_restart | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the timer auto restart status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 6148 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_constant_reception | ( | mfrc522_handle_t * | handle, |
| uint8_t * | t ) |
get the timer constant reception
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *t | pointer to a reception buffer |
Definition at line 4987 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_constant_sync | ( | mfrc522_handle_t * | handle, |
| uint8_t * | t ) |
get the timer constant sync
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *t | pointer to a sync buffer |
Definition at line 5076 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_counter | ( | mfrc522_handle_t * | handle, |
| uint16_t * | cnt ) |
get the timer counter
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *cnt | pointer to a counter buffer |
Definition at line 6364 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_gated_mode | ( | mfrc522_handle_t * | handle, |
| mfrc522_timer_gated_mode_t * | mode ) |
get the timer gated mode
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *mode | pointer to a timer gated mode buffer |
Definition at line 6066 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_prescal_even | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the timer prescal even status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 4898 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_prescaler | ( | mfrc522_handle_t * | handle, |
| uint16_t * | t ) |
get the timer prescaler
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *t | pointer to a prescaler buffer |
Definition at line 6245 of file driver_mfrc522.c.
| uint8_t mfrc522_get_timer_reload | ( | mfrc522_handle_t * | handle, |
| uint16_t * | reload ) |
get the timer reload
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *reload | pointer to a reload buffer |
Definition at line 6327 of file driver_mfrc522.c.
| uint8_t mfrc522_get_tx_crc_generation | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the tx crc generation status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3481 of file driver_mfrc522.c.
| uint8_t mfrc522_get_tx_input | ( | mfrc522_handle_t * | handle, |
| mfrc522_tx_input_t * | input ) |
get the tx input
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *input | pointer to a tx input buffer |
Definition at line 4221 of file driver_mfrc522.c.
| uint8_t mfrc522_get_tx_last_bits | ( | mfrc522_handle_t * | handle, |
| uint8_t * | bits ) |
get the tx last bits
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *bits | pointer to a bits buffer |
Definition at line 2781 of file driver_mfrc522.c.
| uint8_t mfrc522_get_tx_speed | ( | mfrc522_handle_t * | handle, |
| mfrc522_speed_t * | speed ) |
get the tx speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *speed | pointer to a tx speed buffer |
Definition at line 3563 of file driver_mfrc522.c.
| uint8_t mfrc522_get_tx_wait | ( | mfrc522_handle_t * | handle, |
| uint8_t * | t ) |
get the tx wait
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *t | pointer to a wait buffer |
Definition at line 5165 of file driver_mfrc522.c.
| uint8_t mfrc522_get_tx_wait_rf | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the rf tx wait status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 3235 of file driver_mfrc522.c.
| uint8_t mfrc522_get_value_clear_after_coll | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t * | enable ) |
get the value clear after coll status
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *enable | pointer to a bool value buffer |
Definition at line 2997 of file driver_mfrc522.c.
| uint8_t mfrc522_get_water_level | ( | mfrc522_handle_t * | handle, |
| uint8_t * | level ) |
get the water level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [out] | *level | pointer to a level buffer |
Definition at line 2493 of file driver_mfrc522.c.
| uint8_t mfrc522_info | ( | mfrc522_info_t * | info | ) |
get chip information
| [out] | *info | pointer to an mfrc522 info structure |
Definition at line 7828 of file driver_mfrc522.c.
| uint8_t mfrc522_init | ( | mfrc522_handle_t * | handle | ) |
initialize the chip
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 348 of file driver_mfrc522.c.
| uint8_t mfrc522_irq_handler | ( | mfrc522_handle_t * | handle | ) |
irq handler
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 719 of file driver_mfrc522.c.
| uint8_t mfrc522_set_addr_pin | ( | mfrc522_handle_t * | handle, |
| uint8_t | addr_pin ) |
set the iic address pin
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | addr_pin | address pin |
Definition at line 302 of file driver_mfrc522.c.
| uint8_t mfrc522_set_antenna_driver | ( | mfrc522_handle_t * | handle, |
| mfrc522_antenna_driver_t | driver, | ||
| mfrc522_bool_t | enable ) |
enable or disable the antenna driver
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | driver | antenna driver type |
| [in] | enable | bool value |
Definition at line 4011 of file driver_mfrc522.c.
| uint8_t mfrc522_set_channel_reception | ( | mfrc522_handle_t * | handle, |
| mfrc522_channel_reception_t | reception ) |
set the channel reception
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | reception | channel reception |
Definition at line 4689 of file driver_mfrc522.c.
| uint8_t mfrc522_set_clear_temperature_error | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable clear temperature error
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 2239 of file driver_mfrc522.c.
| uint8_t mfrc522_set_collision_level | ( | mfrc522_handle_t * | handle, |
| uint8_t | level ) |
set the collision level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | level | collision level |
Definition at line 4601 of file driver_mfrc522.c.
| uint8_t mfrc522_set_command | ( | mfrc522_handle_t * | handle, |
| mfrc522_command_t | command ) |
set the command
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | command | set command |
Definition at line 1386 of file driver_mfrc522.c.
| uint8_t mfrc522_set_contactless_uart_input | ( | mfrc522_handle_t * | handle, |
| mfrc522_contactless_uart_input_t | input ) |
set the contactless uart input
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | input | contactless uart input |
Definition at line 4340 of file driver_mfrc522.c.
| uint8_t mfrc522_set_crc_msb_first | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable the crc msb first
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3108 of file driver_mfrc522.c.
| uint8_t mfrc522_set_crc_preset | ( | mfrc522_handle_t * | handle, |
| mfrc522_crc_preset_t | preset ) |
set the crc preset
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | preset | crc preset |
Definition at line 3354 of file driver_mfrc522.c.
| uint8_t mfrc522_set_cwgsn | ( | mfrc522_handle_t * | handle, |
| uint8_t | n ) |
set the cwgsn
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | n | param |
Definition at line 5584 of file driver_mfrc522.c.
| uint8_t mfrc522_set_cwgsp | ( | mfrc522_handle_t * | handle, |
| uint8_t | n ) |
set the cwgsp
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | n | param |
Definition at line 5762 of file driver_mfrc522.c.
| uint8_t mfrc522_set_fifo_data | ( | mfrc522_handle_t * | handle, |
| uint8_t * | data, | ||
| uint8_t | len ) |
set the fifo data
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | *data | pointer to a data buffer |
| [in] | len | data length |
Definition at line 2323 of file driver_mfrc522.c.
| uint8_t mfrc522_set_fix_iq | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable fix iq
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 4771 of file driver_mfrc522.c.
| uint8_t mfrc522_set_force_100_ask | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable force 100 ask
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 4094 of file driver_mfrc522.c.
| uint8_t mfrc522_set_force_iic_high_speed | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable force iic high speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 2157 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interface | ( | mfrc522_handle_t * | handle, |
| mfrc522_interface_t | interface ) |
set the chip interface
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | interface | chip interface |
Definition at line 260 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interrupt1 | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt1_t | type, | ||
| mfrc522_bool_t | enable ) |
enable or disable the interrupt1
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | type | interrupt1 type |
| [in] | enable | bool value |
Definition at line 1469 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interrupt1_mark | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt_mark_t | mark ) |
set the interrupt1 mark
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | mark | interrupt1 mark type |
Definition at line 1634 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interrupt1_pin_invert | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable interrupt1 pin invert
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 1552 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interrupt2 | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt2_t | type, | ||
| mfrc522_bool_t | enable ) |
enable or disable the interrupt2
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | type | interrupt2 type |
| [in] | enable | bool value |
Definition at line 1680 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interrupt2_mark | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt_mark_t | mark ) |
set the interrupt2 mark
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | mark | interrupt2 mark type |
Definition at line 1845 of file driver_mfrc522.c.
| uint8_t mfrc522_set_interrupt_pin_type | ( | mfrc522_handle_t * | handle, |
| mfrc522_interrupt_pin_type_t | type ) |
set the interrupt pin type
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | type | interrupt pin type |
Definition at line 1763 of file driver_mfrc522.c.
| uint8_t mfrc522_set_mfin_polarity | ( | mfrc522_handle_t * | handle, |
| mfrc522_mfin_polarity_t | polarity ) |
set the mfin polarity
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | polarity | mfin polarity |
Definition at line 3272 of file driver_mfrc522.c.
| uint8_t mfrc522_set_mfout_input | ( | mfrc522_handle_t * | handle, |
| mfrc522_mfout_input_t | input ) |
set the mfout input
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | input | mfout input |
Definition at line 4258 of file driver_mfrc522.c.
| uint8_t mfrc522_set_mifare_crypto1_on | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable mifare crypto1 on
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 2112 of file driver_mfrc522.c.
| uint8_t mfrc522_set_min_level | ( | mfrc522_handle_t * | handle, |
| uint8_t | level ) |
set the min level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | level | min level |
Definition at line 4512 of file driver_mfrc522.c.
| uint8_t mfrc522_set_modgsn | ( | mfrc522_handle_t * | handle, |
| uint8_t | n ) |
set the modgsn
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | n | param |
Definition at line 5673 of file driver_mfrc522.c.
| uint8_t mfrc522_set_modgsp | ( | mfrc522_handle_t * | handle, |
| uint8_t | n ) |
set the modgsp
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | n | param |
Definition at line 5851 of file driver_mfrc522.c.
| uint8_t mfrc522_set_modulation_invert | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable the modulation invert
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3600 of file driver_mfrc522.c.
| uint8_t mfrc522_set_modulation_width | ( | mfrc522_handle_t * | handle, |
| uint8_t | width ) |
set the modulation width
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | width | modulation width |
Definition at line 5431 of file driver_mfrc522.c.
| uint8_t mfrc522_set_parity_disable | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable parity disable
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 5202 of file driver_mfrc522.c.
| uint8_t mfrc522_set_power_down | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable power down
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 1304 of file driver_mfrc522.c.
| uint8_t mfrc522_set_receiver_analog | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable the analog part of the receiver
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 1222 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_align | ( | mfrc522_handle_t * | handle, |
| mfrc522_rx_align_t | align ) |
set the rx align
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | align | rx align |
Definition at line 2870 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_crc_generation | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable the rx crc generation
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3682 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_gain | ( | mfrc522_handle_t * | handle, |
| mfrc522_rx_gain_t | gain ) |
set the rx gain
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | gain | rx gain |
Definition at line 5501 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_multiple | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable rx multiple
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3928 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_no_error | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable rx no error
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3846 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_speed | ( | mfrc522_handle_t * | handle, |
| mfrc522_speed_t | speed ) |
set the rx speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | speed | rx speed |
Definition at line 3764 of file driver_mfrc522.c.
| uint8_t mfrc522_set_rx_wait | ( | mfrc522_handle_t * | handle, |
| uint8_t | t ) |
set the rx wait
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | t | rx wait |
Definition at line 4423 of file driver_mfrc522.c.
| uint8_t mfrc522_set_serial_speed | ( | mfrc522_handle_t * | handle, |
| uint8_t | t0, | ||
| uint8_t | t1 ) |
set the serial speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | t0 | speed parm0 |
| [in] | t1 | speed parm1 |
Definition at line 5299 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_auto | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable timer auto
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 5939 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_auto_restart | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable timer auto restart
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 6103 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_constant_reception | ( | mfrc522_handle_t * | handle, |
| uint8_t | t ) |
set the timer constant reception
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | t | reception |
Definition at line 4936 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_constant_sync | ( | mfrc522_handle_t * | handle, |
| uint8_t | t ) |
set the timer constant sync
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | t | sync |
Definition at line 5025 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_gated_mode | ( | mfrc522_handle_t * | handle, |
| mfrc522_timer_gated_mode_t | mode ) |
set the timer gated mode
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | mode | timer gated mode |
Definition at line 6021 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_prescal_even | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable timer prescal even
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 4853 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_prescaler | ( | mfrc522_handle_t * | handle, |
| uint16_t | t ) |
set the timer prescaler
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | t | prescaler |
Definition at line 6186 of file driver_mfrc522.c.
| uint8_t mfrc522_set_timer_reload | ( | mfrc522_handle_t * | handle, |
| uint16_t | reload ) |
set the timer reload
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | reload | reload param |
Definition at line 6289 of file driver_mfrc522.c.
| uint8_t mfrc522_set_tx_crc_generation | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable tx crc generation
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3436 of file driver_mfrc522.c.
| uint8_t mfrc522_set_tx_input | ( | mfrc522_handle_t * | handle, |
| mfrc522_tx_input_t | input ) |
set the tx input
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | input | tx input |
Definition at line 4176 of file driver_mfrc522.c.
| uint8_t mfrc522_set_tx_last_bits | ( | mfrc522_handle_t * | handle, |
| uint8_t | bits ) |
set the tx last bits
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | bits | set bits |
Definition at line 2819 of file driver_mfrc522.c.
| uint8_t mfrc522_set_tx_speed | ( | mfrc522_handle_t * | handle, |
| mfrc522_speed_t | speed ) |
set the tx speed
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | speed | tx speed |
Definition at line 3518 of file driver_mfrc522.c.
| uint8_t mfrc522_set_tx_wait | ( | mfrc522_handle_t * | handle, |
| uint8_t | t ) |
set the tx wait
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | t | wait |
Definition at line 5114 of file driver_mfrc522.c.
| uint8_t mfrc522_set_tx_wait_rf | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable the rf tx wait
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 3190 of file driver_mfrc522.c.
| uint8_t mfrc522_set_value_clear_after_coll | ( | mfrc522_handle_t * | handle, |
| mfrc522_bool_t | enable ) |
enable or disable value clear after coll
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | enable | bool value |
Definition at line 2952 of file driver_mfrc522.c.
| uint8_t mfrc522_set_water_level | ( | mfrc522_handle_t * | handle, |
| uint8_t | level ) |
set the water level
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | level | water level |
Definition at line 2530 of file driver_mfrc522.c.
| uint8_t mfrc522_start_send | ( | mfrc522_handle_t * | handle | ) |
start the transmission of data
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 2693 of file driver_mfrc522.c.
| uint8_t mfrc522_start_timer | ( | mfrc522_handle_t * | handle | ) |
start the timer
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 2613 of file driver_mfrc522.c.
| uint8_t mfrc522_stop_send | ( | mfrc522_handle_t * | handle | ) |
stop the transmission of data
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 2737 of file driver_mfrc522.c.
| uint8_t mfrc522_stop_timer | ( | mfrc522_handle_t * | handle | ) |
stop the timer
| [in] | *handle | pointer to an mfrc522 handle structure |
Definition at line 2570 of file driver_mfrc522.c.
| uint8_t mfrc522_transceiver | ( | mfrc522_handle_t * | handle, |
| mfrc522_command_t | command, | ||
| uint8_t * | in_buf, | ||
| uint8_t | in_len, | ||
| uint8_t * | out_buf, | ||
| uint8_t * | out_len, | ||
| uint8_t * | err, | ||
| uint32_t | ms ) |
mfrc522 transceiver
| [in] | *handle | pointer to an mfrc522 handle structure |
| [in] | command | set command |
| [in] | *in_buf | pointer to an input buffer |
| [in] | in_len | input length |
| [out] | *out_buf | pointer to an output buffer |
| [in,out] | *out_len | pointer to an output length buffer |
| [out] | *err | pointer to an error buffer |
| [in] | ms | timeout in ms |
Definition at line 891 of file driver_mfrc522.c.