| поискавой системы для электроныых деталей |
|
RM0319 датащи(PDF) 182 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0319 датащи(HTML) 182 Page - STMicroelectronics |
|
182 / 368 page ![]() MMC-SD card/SDIO controller RM0319 182/368 Doc ID 022640 Rev 3 14.5 Programming examples This section explains some basic sequence flows of initialization and data transfer using the memory card controller. 14.5.1 Detecting the SD card Figure 58. SD card detection 1. To enable interrupt for card detection, write 1 to the following bits: – Card Insertion Status Enable in the Normal Interrupt Status Enable register – Card Insertion Signal Enable in the Normal Interrupt Signal Enable register – Card Removal Status Enable in the Normal Interrupt Status Enable register – Card Removal Signal Enable in the Normal Interrupt Signal Enable register 2. When the host driver detects the card insertion or removal, clear its interrupt statuses. If the card insertion interrupt is generated, write logic ‘1’ to card insertion in the normal interrupt status register. If the card removal interrupt is generated, write logic ‘1’ to card removal in the normal interrupt status register. 3. Check the card inserted in the present state register. If the card inserted is logic ‘1’, the host driver can supply the power and the clock to the SD card. If the card inserted is logic ‘0’, the other executing processes of the host driver must be immediately closed. Enable Int of Card Detect Start Clr Card Detect Int Status Check Card Inserted End (1) (2) (3) Card Detect Int occur Card Inserted is 1b, then recognize as insertion Card Inserted is 0b, then recognize as removal |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |