2020-04-23 13:55:00 -04:00
|
|
|
( cmd arg1 arg2 -- r )
|
|
|
|
( Send a command that expects a R1 response, handling CS. )
|
2020-09-17 09:36:16 -04:00
|
|
|
: SDCMDR1 [ SDC_DEVID LITN ] (spie) _cmd 0 (spie) ;
|
2020-04-23 13:55:00 -04:00
|
|
|
|
|
|
|
( cmd arg1 arg2 -- r arg1 arg2 )
|
|
|
|
( Send a command that expects a R7 response, handling CS. A R7
|
|
|
|
is a R1 followed by 4 bytes. arg1 contains bytes 0:1, arg2
|
|
|
|
has 2:3 )
|
|
|
|
: SDCMDR7
|
2020-09-17 09:36:16 -04:00
|
|
|
[ SDC_DEVID LITN ] (spie)
|
2020-04-23 13:55:00 -04:00
|
|
|
_cmd ( r )
|
2020-05-07 15:40:10 -04:00
|
|
|
_idle 8 LSHIFT _idle + ( r arg1 )
|
|
|
|
_idle 8 LSHIFT _idle + ( r arg1 arg2 )
|
2020-09-17 09:36:16 -04:00
|
|
|
0 (spie)
|
2020-04-23 13:55:00 -04:00
|
|
|
;
|