| 전자부품 데이터시트 검색엔진 |
|
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 |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |