Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setting search stop levels.
void TEA5767N::setSearchLowStopLevel() {
transmission_data[THIRD_DATA] &= 0b10011111;
transmission_data[THIRD_DATA] |= (LOW_STOP_LEVEL << 5);
}
void TEA5767N::setSearchMidStopLevel() {
transmission_data[THIRD_DATA] &= 0b10011111;
transmission_data[THIRD_DATA] |= (MID_STOP_LEVEL << 5);
}
void TEA5767N::setSearchHighStopLevel() {
transmission_data[THIRD_DATA] &= 0b10011111;
transmission_data[THIRD_DATA] |= (HIGH_STOP_LEVEL << 5);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment