add config baud increase docs

This commit is contained in:
soypat
2024-01-14 20:16:45 -03:00
parent d5db138d9a
commit 97ef4986ba
3 changed files with 17 additions and 9 deletions
+2
View File
@@ -58,6 +58,8 @@ func (c *SPICard) csEnable(b bool) { c.cs(!b) }
func (c *SPICard) LastReadCRC() uint16 { return c.lastCRC }
func (c *SPICard) LastR1() r1 { return c.lastr1 }
// Init initializes the SD card. This routine should be performed with a SPI clock
// speed of around 100..400kHz. One may increase the clock speed after initialization.
func (d *SPICard) Init() error {
dummy := d.buf[:]
for i := range dummy {
+1 -1
View File
@@ -447,7 +447,7 @@ var log10table = [...]int64{
1000000,
}
// RateMegabits returns the transfer rate in megabits per second.
// RateMegabits returns the transfer rate in kilobits per second.
func (t TransferSpeed) RateKilobits() int64 {
return 100 * log10table[t&0b111]
}