Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

PIO Bitwise operation

Hallo, What is the best way to perform bit wise operation to clear or set specific bits on Nios II PIO port? An example CTRL_PORT = CTRL_PORT | (1 << CTRL_CS) | (1 << CTRL_RDE) | (1 <...