10 Jun
2009
10 Jun
'09
4:17 p.m.
Em Qua, 2009-06-10 às 14:05 +0200, pHilipp Zabel escreveu:
Hmm right, the real frame width is DataSize * slots. So maybe /* set data size */ data_size = frame_width/slots; if (data_size > 16) sscr0 |= SSCR0_EDSS | SSCR0_DataSize(data_size - 16); else sscr0 |= SSCR0_DataSize(data_size); would be more appropriate. Or have that parameter be sample_width instead, as Mark initially proposed.
Ack.
Naming it frame_width was not a good idea. Im using frame_width for the distance between each SFRM assertion when not networked and for the duration of each slot when networked. I will name it slot_width instead.
--
Daniel Ribeiro