示例#1
0
文件: spi.c 项目: Floo/ethersex
uint8_t noinline
spi_send(uint8_t data)
{
  _SPDR0 = data;
  spi_wait_busy();

  return _SPDR0;
}
示例#2
0
文件: spi.c 项目: muccc/matemat
uint8_t noinline spi_send(uint8_t data)
/* {{{ */ {

    _SPDR0 = data;
    spi_wait_busy();

    return _SPDR0;

} /* }}} */