PC Card Event Masks

Event masks specify which events cause a client callback. The following table shows the defined masks.

Event mask
Meaning
EVENT_MASK_WRITE_PROTECT Write-protect state
EVENT_MASK_CARD_LOCK Card lock state
EVENT_MASK_EJECT_REQ Ejection request
EVENT_MASK_INSERT_REQ Insertion request
EVENT_MASK_BATTERY_DEAD Battery dead
EVENT_MASK_BATTERY_LOW Battery low
EVENT_MASK_CARD_READY Ready change
EVENT_MASK_CARD_DETECT Card detect
EVENT_MASK_POWER_MGMT Power management change
EVENT_MASK_RESET Card reset
EVENT_MASK_STATUS_CHANGE Card-generated status change interrupt