Functions | |
uint16_t | app_iso7816_init (app_iso7816_params_t *p_params, app_iso7816_evt_handler_t evt_handler) |
Initialize the APP ISO7816 DRIVER according to the specified parameters in the app_iso7816_params_t and app_iso7816_evt_handler_t. More... | |
uint16_t | app_iso7816_deinit (void) |
De-initialize the APP ISO7816 DRIVER peripheral. More... | |
uint16_t | app_iso7816_receive_sync (uint16_t size, uint32_t timeout) |
Receive an amount of data in blocking mode. More... | |
uint16_t | app_iso7816_receive_async (uint16_t size) |
Receive an amount of data in non-blocking mode with Interrupt/DMA. More... | |
uint16_t | app_iso7816_transmit_sync (uint16_t size, uint32_t timeout) |
Transmits an amount of data in blocking mode. More... | |
uint16_t | app_iso7816_transmit_async (uint16_t size) |
Transmits an amount of data in non-blocking mode with Interrupt/DMA. More... | |
uint16_t | app_iso7816_transmit_receive_sync (uint16_t tx_size, uint16_t rx_size, uint32_t timeout) |
Transmit and receive in master mode an amount of data in blocking mode. More... | |
uint16_t | app_iso7816_transmit_receive_async (uint16_t tx_size, uint16_t rx_size) |
Transmit and receive in master mode an amount of data in non-blocking mode. More... | |
uint16_t | app_iso7816_set_action (uint32_t action) |
Request ISO7816 to go to the next action. More... | |
uint32_t | app_iso7816_get_power_states (void) |
Get ISO7816 Power States. More... | |
uint16_t | app_iso7816_set_etudiv (uint32_t divide) |
Set divide ISO7816 clock. More... | |
iso7816_handle_t * | app_iso7816_get_handle (void) |
Return the ISO7816 handle. More... | |
uint16_t app_iso7816_deinit | ( | void | ) |
De-initialize the APP ISO7816 DRIVER peripheral.
iso7816_handle_t* app_iso7816_get_handle | ( | void | ) |
Return the ISO7816 handle.
uint32_t app_iso7816_get_power_states | ( | void | ) |
Get ISO7816 Power States.
uint16_t app_iso7816_init | ( | app_iso7816_params_t * | p_params, |
app_iso7816_evt_handler_t | evt_handler | ||
) |
Initialize the APP ISO7816 DRIVER according to the specified parameters in the app_iso7816_params_t and app_iso7816_evt_handler_t.
[in] | p_params | Pointer to app_iso7816_params_t parameter which contains the configuration information for the specified ISO7816 module. |
[in] | evt_handler | ISO7816 user callback function. |
uint16_t app_iso7816_receive_async | ( | uint16_t | size | ) |
Receive an amount of data in non-blocking mode with Interrupt/DMA.
[in] | size | Amount of data to be sent |
uint16_t app_iso7816_receive_sync | ( | uint16_t | size, |
uint32_t | timeout | ||
) |
Receive an amount of data in blocking mode.
[in] | size | Amount of data to be sent |
[in] | timeout | Timeout duration |
uint16_t app_iso7816_set_action | ( | uint32_t | action | ) |
Request ISO7816 to go to the next action.
action | This parameter can be one of the following values: |
uint16_t app_iso7816_set_etudiv | ( | uint32_t | divide | ) |
Set divide ISO7816 clock.
divide | This parameter should range between 0x0 and 0x3FF. |
uint16_t app_iso7816_transmit_async | ( | uint16_t | size | ) |
Transmits an amount of data in non-blocking mode with Interrupt/DMA.
[in] | size | Amount of data to be sent |
uint16_t app_iso7816_transmit_receive_async | ( | uint16_t | tx_size, |
uint16_t | rx_size | ||
) |
Transmit and receive in master mode an amount of data in non-blocking mode.
[in] | tx_size | Amount of data to be sent |
[in] | rx_size | Amount of data to be receive |
uint16_t app_iso7816_transmit_receive_sync | ( | uint16_t | tx_size, |
uint16_t | rx_size, | ||
uint32_t | timeout | ||
) |
Transmit and receive in master mode an amount of data in blocking mode.
[in] | tx_size | Amount of data to be sent |
[in] | rx_size | Amount of data to be receive |
[in] | timeout | Timeout duration |
uint16_t app_iso7816_transmit_sync | ( | uint16_t | size, |
uint32_t | timeout | ||
) |
Transmits an amount of data in blocking mode.
[in] | size | Amount of data to be sent |
[in] | timeout | Timeout duration |