comparison sd_raw.c @ 38:9e888708f33d

sd test code
author Matt Johnston <matt@ucc.asn.au>
date Thu, 27 Jun 2013 11:24:56 +0000
parents 5f9a40d6991b
children 2a47c458d6ed
comparison
equal deleted inserted replaced
36:c6f77df67dde 38:9e888708f33d
328 #endif 328 #endif
329 329
330 return 1; 330 return 1;
331 } 331 }
332 332
333 void
334 sd_raw_deinit(void)
335 {
336 configure_pin_mosi();
337 configure_pin_sck();
338 configure_pin_ss();
339 }
340
333 /** 341 /**
334 * \ingroup sd_raw 342 * \ingroup sd_raw
335 * Checks wether a memory card is located in the slot. 343 * Checks wether a memory card is located in the slot.
336 * 344 *
337 * \returns 1 if the card is available, 0 if it is not. 345 * \returns 1 if the card is available, 0 if it is not.