![]() |
LibDriver MFRC522
1.0.0
MFRC522 full-featured driver
|
mfrc522 chip test driver modules More...
Functions | |
uint8_t | mfrc522_set_test_bus_signal_1 (mfrc522_handle_t *handle, uint8_t s) |
set the test bus signal 1 More... | |
uint8_t | mfrc522_get_test_bus_signal_1 (mfrc522_handle_t *handle, uint8_t *s) |
get the test bus signal 1 More... | |
uint8_t | mfrc522_set_test_bus_signal_2 (mfrc522_handle_t *handle, uint8_t s) |
set the test bus signal 2 More... | |
uint8_t | mfrc522_get_test_bus_signal_2 (mfrc522_handle_t *handle, uint8_t *s) |
get the test bus signal 2 More... | |
uint8_t | mfrc522_set_test_bus_flip (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
enable or disable test bus flip More... | |
uint8_t | mfrc522_get_test_bus_flip (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
get the test bus flip status More... | |
uint8_t | mfrc522_set_test_prbs9 (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
enable or disable test prbs9 More... | |
uint8_t | mfrc522_get_test_prbs9 (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
get the test prbs9 status More... | |
uint8_t | mfrc522_set_test_prbs15 (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
enable or disable test prbs15 More... | |
uint8_t | mfrc522_get_test_prbs15 (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
get the test prbs15 status More... | |
uint8_t | mfrc522_set_test_rs232_line (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
enable or disable test rs232 line More... | |
uint8_t | mfrc522_get_test_rs232_line (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
get the test rs232 line status More... | |
uint8_t | mfrc522_set_test_pin_enable (mfrc522_handle_t *handle, uint8_t pin) |
set the test pin enable More... | |
uint8_t | mfrc522_get_test_pin_enable (mfrc522_handle_t *handle, uint8_t *pin) |
get the test pin enable More... | |
uint8_t | mfrc522_set_test_port_io (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
enable or disable test port io More... | |
uint8_t | mfrc522_get_test_port_io (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
get the test port io status More... | |
uint8_t | mfrc522_set_test_pin_value (mfrc522_handle_t *handle, uint8_t value) |
set the test pin value More... | |
uint8_t | mfrc522_get_test_pin_value (mfrc522_handle_t *handle, uint8_t *value) |
get the test pin value More... | |
uint8_t | mfrc522_get_test_bus (mfrc522_handle_t *handle, uint8_t *bus) |
get the test bus More... | |
uint8_t | mfrc522_set_test_amp_rcv (mfrc522_handle_t *handle, mfrc522_bool_t enable) |
enable or disable test amp rcv More... | |
uint8_t | mfrc522_get_test_amp_rcv (mfrc522_handle_t *handle, mfrc522_bool_t *enable) |
get the test amp rcv status More... | |
uint8_t | mfrc522_set_self_test (mfrc522_handle_t *handle, uint8_t test) |
set the self test More... | |
uint8_t | mfrc522_get_self_test (mfrc522_handle_t *handle, uint8_t *test) |
get the self test More... | |
uint8_t | mfrc522_get_version (mfrc522_handle_t *handle, uint8_t *id, uint8_t *version) |
get the version More... | |
uint8_t | mfrc522_set_test_analog_control_aux_1 (mfrc522_handle_t *handle, mfrc522_test_analog_control_t control) |
set the test analog control aux 1 More... | |
uint8_t | mfrc522_get_test_analog_control_aux_1 (mfrc522_handle_t *handle, mfrc522_test_analog_control_t *control) |
get the test analog control aux 1 More... | |
uint8_t | mfrc522_set_test_analog_control_aux_2 (mfrc522_handle_t *handle, mfrc522_test_analog_control_t control) |
set the test analog control aux 2 More... | |
uint8_t | mfrc522_get_test_analog_control_aux_2 (mfrc522_handle_t *handle, mfrc522_test_analog_control_t *control) |
get the test analog control aux 2 More... | |
uint8_t | mfrc522_set_test_dac_1 (mfrc522_handle_t *handle, uint8_t dac) |
set the test dac 1 More... | |
uint8_t | mfrc522_get_test_dac_1 (mfrc522_handle_t *handle, uint8_t *dac) |
get the test dac 1 More... | |
uint8_t | mfrc522_set_test_dac_2 (mfrc522_handle_t *handle, uint8_t dac) |
set the test dac 2 More... | |
uint8_t | mfrc522_get_test_dac_2 (mfrc522_handle_t *handle, uint8_t *dac) |
get the test dac 2 More... | |
uint8_t | mfrc522_get_test_adc (mfrc522_handle_t *handle, uint8_t *adc_i, uint8_t *adc_q) |
get the test adc More... | |
mfrc522 chip test driver modules
uint8_t mfrc522_get_self_test | ( | mfrc522_handle_t * | handle, |
uint8_t * | test | ||
) |
get the self test
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *test | pointer to a self test buffer |
Definition at line 7336 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_adc | ( | mfrc522_handle_t * | handle, |
uint8_t * | adc_i, | ||
uint8_t * | adc_q | ||
) |
get the test adc
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *adc_i | pointer to an adc i buffer |
[out] | *adc_q | pointer to an adc q buffer |
Definition at line 7739 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_amp_rcv | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t * | enable | ||
) |
get the test amp rcv status
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *enable | pointer to a bool value buffer |
Definition at line 7247 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_analog_control_aux_1 | ( | mfrc522_handle_t * | handle, |
mfrc522_test_analog_control_t * | control | ||
) |
get the test analog control aux 1
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *control | pointer to an aux control buffer |
Definition at line 7457 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_analog_control_aux_2 | ( | mfrc522_handle_t * | handle, |
mfrc522_test_analog_control_t * | control | ||
) |
get the test analog control aux 2
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *control | pointer to an aux control buffer |
Definition at line 7539 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_bus | ( | mfrc522_handle_t * | handle, |
uint8_t * | bus | ||
) |
get the test bus
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *bus | pointer to a bus buffer |
Definition at line 7167 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_bus_flip | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t * | enable | ||
) |
get the test bus flip status
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *enable | pointer to a bool value buffer |
Definition at line 6624 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_bus_signal_1 | ( | mfrc522_handle_t * | handle, |
uint8_t * | s | ||
) |
get the test bus signal 1
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *s | pointer to a set signal buffer |
Definition at line 6453 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_bus_signal_2 | ( | mfrc522_handle_t * | handle, |
uint8_t * | s | ||
) |
get the test bus signal 2
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *s | pointer to a set signal buffer |
Definition at line 6542 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_dac_1 | ( | mfrc522_handle_t * | handle, |
uint8_t * | dac | ||
) |
get the test dac 1
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *dac | pointer to a set dac buffer |
Definition at line 7620 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_dac_2 | ( | mfrc522_handle_t * | handle, |
uint8_t * | dac | ||
) |
get the test dac 2
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *dac | pointer to a set dac buffer |
Definition at line 7701 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_pin_enable | ( | mfrc522_handle_t * | handle, |
uint8_t * | pin | ||
) |
get the test pin enable
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *pin | pointer to a pin map buffer |
Definition at line 6959 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_pin_value | ( | mfrc522_handle_t * | handle, |
uint8_t * | value | ||
) |
get the test pin value
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *value | pointer to a set value buffer |
Definition at line 7130 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_port_io | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t * | enable | ||
) |
get the test port io status
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *enable | pointer to a bool value buffer |
Definition at line 7041 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_prbs15 | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t * | enable | ||
) |
get the test prbs15 status
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *enable | pointer to a bool value buffer |
Definition at line 6788 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_prbs9 | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t * | enable | ||
) |
get the test prbs9 status
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *enable | pointer to a bool value buffer |
Definition at line 6706 of file driver_mfrc522.c.
uint8_t mfrc522_get_test_rs232_line | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t * | enable | ||
) |
get the test rs232 line status
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *enable | pointer to a bool value buffer |
Definition at line 6870 of file driver_mfrc522.c.
uint8_t mfrc522_get_version | ( | mfrc522_handle_t * | handle, |
uint8_t * | id, | ||
uint8_t * | version | ||
) |
get the version
[in] | *handle | pointer to an mfrc522 handle structure |
[out] | *id | pointer to an id buffer |
[out] | *version | pointer to a version buffer |
Definition at line 7374 of file driver_mfrc522.c.
uint8_t mfrc522_set_self_test | ( | mfrc522_handle_t * | handle, |
uint8_t | test | ||
) |
set the self test
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | test | self test param |
Definition at line 7285 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_amp_rcv | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t | enable | ||
) |
enable or disable test amp rcv
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | enable | bool value |
Definition at line 7202 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_analog_control_aux_1 | ( | mfrc522_handle_t * | handle, |
mfrc522_test_analog_control_t | control | ||
) |
set the test analog control aux 1
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | control | aux control |
Definition at line 7412 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_analog_control_aux_2 | ( | mfrc522_handle_t * | handle, |
mfrc522_test_analog_control_t | control | ||
) |
set the test analog control aux 2
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | control | aux control |
Definition at line 7494 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_bus_flip | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t | enable | ||
) |
enable or disable test bus flip
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | enable | bool value |
Definition at line 6579 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_bus_signal_1 | ( | mfrc522_handle_t * | handle, |
uint8_t | s | ||
) |
set the test bus signal 1
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | s | set signal |
Definition at line 6402 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_bus_signal_2 | ( | mfrc522_handle_t * | handle, |
uint8_t | s | ||
) |
set the test bus signal 2
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | s | set signal |
Definition at line 6491 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_dac_1 | ( | mfrc522_handle_t * | handle, |
uint8_t | dac | ||
) |
set the test dac 1
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | dac | set dac |
Definition at line 7577 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_dac_2 | ( | mfrc522_handle_t * | handle, |
uint8_t | dac | ||
) |
set the test dac 2
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | dac | set dac |
Definition at line 7658 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_pin_enable | ( | mfrc522_handle_t * | handle, |
uint8_t | pin | ||
) |
set the test pin enable
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | pin | set pin map |
Definition at line 6908 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_pin_value | ( | mfrc522_handle_t * | handle, |
uint8_t | value | ||
) |
set the test pin value
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | value | set value |
Definition at line 7079 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_port_io | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t | enable | ||
) |
enable or disable test port io
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | enable | bool value |
Definition at line 6996 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_prbs15 | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t | enable | ||
) |
enable or disable test prbs15
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | enable | bool value |
Definition at line 6743 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_prbs9 | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t | enable | ||
) |
enable or disable test prbs9
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | enable | bool value |
Definition at line 6661 of file driver_mfrc522.c.
uint8_t mfrc522_set_test_rs232_line | ( | mfrc522_handle_t * | handle, |
mfrc522_bool_t | enable | ||
) |
enable or disable test rs232 line
[in] | *handle | pointer to an mfrc522 handle structure |
[in] | enable | bool value |
Definition at line 6825 of file driver_mfrc522.c.