int setBit7to1(int v)
{
// TODO: set bit 7 to 1
return v;
}
int setBit5to0(int v)
{
// TODO: set bit 5 to 0
return v;
}
for example
- setBit7to1: if input: 0x01, output: 0x81
- setBit5to0: if input: 0xffff, output: 0xffef
can someone help?