13 Apr
2018
13 Apr
'18
4:19 p.m.
sspsp |= SSPSP_EDMYSTOP((slot_end_padding >> 2) & 0x3);
sspsp |= SSPSP_DMYSTOP(slot_end_padding & 0x3);
We have already macros for those masks, just sent you a patch which you can combine with.
Did you mean this?
+ sspsp |= SSPSP_DMYSTOP(SSPSP_DMYSTOP_MASK & dummy_stop); + sspsp |= SSPSP_EDMYSTOP(SSPSP_EDMYSTOP_MASK & + (dummy_stop >> SSPSP_DMYSTOP_BITS));