this improves error checking (we were not fully checking all the error flags in the Card Status Register) and changes the signature of most methods to return a Result
it also changes the default clock frequency to 48 MHz (from 400 KHz)
it also fixes the read and write bounds checks by actually reading the extended Card Specific Data register to get the number of blocks in the card
this improves error checking (we were not fully checking all the error flags in the Card Status Register) and changes the signature of most methods to return a
Result
it also changes the default clock frequency to 48 MHz (from 400 KHz)
it also fixes the
read
andwrite
bounds checks by actually reading the extended Card Specific Data register to get the number of blocks in the card