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

SDK • Re: PIO state machine stall, bug?

$
0
0
Bitwise NOT of 0 is 0xFFFFFFFF
If you want to load 1, use SET.
Sure for integer, in terms of bits group for direction or ISR/OSR clear - it's 1 for every pin.
Still I don't understand why

Code:

    mov y, ~null ; THIS LINE ADDED and stalls the state machine
stalls the state machine

Statistics: Posted by sh71rlic — Mon Nov 04, 2024 11:24 am



Viewing all articles
Browse latest Browse all 8026

Trending Articles