Now dealing with the low nibble part of the first byte(the midi channel) is pretty simple, we simply have the chip initialized beforehand to only care about one specific channel, else the message gets ignored and we wait for another message to come.
I get that part, its the source code of the microprocessor to ignore the other low nibble that is confusing me as I have never come across that type of code when working with microcontrollers nor have I found any information about it in my books (that I know of).