Hi, I'm trying to study the Wire library for sam uc in order to be able to modify it to use some other serial interfaces (SERCOM) that should be available in the new Arduino ZERO.
As soon as I opened the Wire.h and Wire.cpp files I had some trouble understanding the code. My question is: what is "Wire"? is it a class? a namespace? what sort of object?
How come we can use methods like Wire.begin()? Shouldn't we initialize an object of the class Wire before?