Exemplo n.º 1
0
Arquivo: spi.c Projeto: Floo/ethersex
uint8_t noinline
spi_send(uint8_t data)
{
  _SPDR0 = data;
  spi_wait_busy();

  return _SPDR0;
}
Exemplo n.º 2
0
Arquivo: spi.c Projeto: muccc/matemat
uint8_t noinline spi_send(uint8_t data)
/* {{{ */ {

    _SPDR0 = data;
    spi_wait_busy();

    return _SPDR0;

} /* }}} */