Function nrf_smartled::pwm::fill_buf[][src]

pub fn fill_buf(color: &RGB8, buf: &mut [u16]) -> Result<(), ()>
Expand description

Fill a buffer with the DMA representation

The buffer must be a slice of 24 u16s or more.