Source: http://www.gipsa-lab.grenoble-inp.fr/~olha.nahorna/Stendhal_2010-2011/L2S1-Informatique/TD1/Peripheriques.pdf