RTEMS 6.1-rc4
|
Functions | |
void | SMARTCARD_PHY_GetDefaultConfig (smartcard_interface_config_t *config) |
Fills in the configuration structure with default values. | |
status_t | SMARTCARD_PHY_Init (void *base, smartcard_interface_config_t const *config, uint32_t srcClock_Hz) |
Initializes a Smart card interface instance. | |
void | SMARTCARD_PHY_Deinit (void *base, smartcard_interface_config_t const *config) |
De-initializes a Smart card interface, stops the Smart card clock, and disables the VCC. | |
status_t | SMARTCARD_PHY_Activate (void *base, smartcard_context_t *context, smartcard_reset_type_t resetType) |
Activates the Smart card IC. | |
status_t | SMARTCARD_PHY_Deactivate (void *base, smartcard_context_t *context) |
De-activates the Smart card IC. | |
status_t | SMARTCARD_PHY_Control (void *base, smartcard_context_t *context, smartcard_interface_control_t control, uint32_t param) |
Controls the Smart card interface IC. | |
status_t SMARTCARD_PHY_Activate | ( | void * | base, |
smartcard_context_t * | context, | ||
smartcard_reset_type_t | resetType | ||
) |
Activates the Smart card IC.
base | The Smart card peripheral module base address. |
context | A pointer to a Smart card driver context structure. |
resetType | type of reset to be performed, possible values = kSmartcardColdReset, kSmartcardWarmReset |
kStatus_SMARTCARD_Success | or kStatus_SMARTCARD_OtherError in case of error. |
status_t SMARTCARD_PHY_Control | ( | void * | base, |
smartcard_context_t * | context, | ||
smartcard_interface_control_t | control, | ||
uint32_t | param | ||
) |
Controls the Smart card interface IC.
base | The Smart card peripheral module base address. |
context | A pointer to a Smart card driver context structure. |
control | A interface command type. |
param | Integer value specific to control type |
kStatus_SMARTCARD_Success | or kStatus_SMARTCARD_OtherError in case of error. |
status_t SMARTCARD_PHY_Deactivate | ( | void * | base, |
smartcard_context_t * | context | ||
) |
De-activates the Smart card IC.
base | The Smart card peripheral module base address. |
context | A pointer to a Smart card driver context structure. |
kStatus_SMARTCARD_Success | or kStatus_SMARTCARD_OtherError in case of error. |
void SMARTCARD_PHY_Deinit | ( | void * | base, |
smartcard_interface_config_t const * | config | ||
) |
De-initializes a Smart card interface, stops the Smart card clock, and disables the VCC.
base | The Smart card peripheral module base address. |
config | The user configuration structure of type smartcard_interface_config_t. |
void SMARTCARD_PHY_GetDefaultConfig | ( | smartcard_interface_config_t * | config | ) |
Fills in the configuration structure with default values.
config | The Smart card user configuration structure which contains configuration structure of type smartcard_interface_config_t. Function fill in members: clockToResetDelay = 42000, vcc = kSmartcardVoltageClassB3_3V, with default values. |
status_t SMARTCARD_PHY_Init | ( | void * | base, |
smartcard_interface_config_t const * | config, | ||
uint32_t | srcClock_Hz | ||
) |
Initializes a Smart card interface instance.
base | The Smart card peripheral base address. |
config | The user configuration structure of type smartcard_interface_config_t. Call the function SMARTCARD_PHY_GetDefaultConfig() to fill the configuration structure. |
srcClock_Hz | Smart card clock generation module source clock. |
kStatus_SMARTCARD_Success | or kStatus_SMARTCARD_OtherError in case of error. |