Moved mcp492x2 related functions to its own files