Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

RM0319 Datasheet(PDF) 182 Page - STMicroelectronics

Part # RM0319
Description  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 Datasheet(HTML) 182 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 178Page - STMicroelectronics RM0319 Datasheet HTML 179Page - STMicroelectronics RM0319 Datasheet HTML 180Page - STMicroelectronics RM0319 Datasheet HTML 181Page - STMicroelectronics RM0319 Datasheet HTML 182Page - STMicroelectronics RM0319 Datasheet HTML 183Page - STMicroelectronics RM0319 Datasheet HTML 184Page - STMicroelectronics RM0319 Datasheet HTML 185Page - STMicroelectronics RM0319 Datasheet HTML 186Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 182 / 368 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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