此函数把SPI的读写功能集成在一块,传递的val既是向SPI写的数据,也是从SPI读取的数据,只需要在执行读或写之前把MCU的I/O脚设置成相应的输出或输入即可。(因为在大部分应用中,是把SPI的DI和DO相连并用MCU的一个IO口来读写)。-This function of the SPI read and write functionality into a single, transmission of val is not only written to the SPI data is read from the SPI data, only need to read or write in the implementation prior to the MCU
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001025s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.084564s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001072s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.002201s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001331s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.005024s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001241s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.004900s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.016330s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001075s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 117961 [ RunTime:0.023784s ]