Programmable filter based on max262