User Manual
MCP Series
Brushed DC Motor Controllers
MCP Series User Manual
138
NAND (&/)
The NOT AND function is a binary operator. It compares the bits of two values. It sets the result
bits to 1 if neither bit is set or to a 1 for all other cases.
1 &/ 1 = 1
1 &/ 0 = 1
0 &/ 1 = 1
0 &/ 0 = 0
Value1 0 1 0 1 1 1 0 1
Value2 1 0 0 1 0 0 1 1
Result 1 1 1 0 1 1 1 0
NOR (|/)
The NOT OR function is a binary operator. It compares two values bit by bit and sets the result to
a 1 if neither bit is a 1, all other conditions will return a 0.
1 |/ 1 = 0
1 |/ 0 = 0
0 |/ 1 = 0
0 |/ 0 = 1
Value1 0 1 0 1 1 1 0 1
Value2 1 0 0 1 0 0 1 1
Result 0 0 1 0 0 0 0 0
NXOR (^/)
The NOT XOR function is a binary operator, It compares two values bit by bit and sets the result
to a 1 if neither bit is a 0 or both bits are a 1. All other conditions will return a 0.
1 ^/ 1 = 1
1 ^/ 0 = 0
0 ^/ 1 = 0
0 ^/ 0 = 1
Value1 0 1 0 1 1 1 0 1
Value2 1 0 0 1 0 0 1 1
Result 0 0 1 1 0 0 0 1