Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5001

SDK • Re: Byte (re-)ordering when using DMA towards SPI display?

$
0
0
ARM is little endian and IO is big endian. Network order is big endian. htons should do the trick. However using a 16-bit transfer should do this for you automatically.

Statistics: Posted by dthacher — Sat Nov 16, 2024 10:21 am



Viewing all articles
Browse latest Browse all 5001

Trending Articles