コード例 #1
0
void led_eight_hal_write( uint8_t *buffer )
{
    led_eight_hal_cs_low();
    write_spi_p( *( buffer )++ );
    write_spi_p( *buffer );
    led_eight_hal_cs_high();
}
void tts_hal_write( uint8_t *buffer,
                    uint16_t count )
{
    while( count-- )
        write_spi_p( *( buffer++ ) );
}