FreeCalypso > hg > freecalypso-schem2
view venus/src/periph/MAX1916.v @ 96:ae6951a70d2b
U403: change from 74LVC2G125 to 74LVC2G126
The two parts have the same footprint and pinout, but '126 3-state buffers
have active-high OE inputs instead of active-low. The change is purely
for software benefit: having GPIO 11/12 set to 1 correspond to that current
contribution being enabled will be much more intuitive for developers and
tinkerers.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 09 May 2022 19:27:11 +0000 |
parents | c247abb89302 |
children |
line wrap: on
line source
module MAX1916 (GND, EN, SET, LEDK); input GND, EN, SET; output [1:3] LEDK; /* instantiate the package; the mapping of signals to pins is defined here */ pkg_SOT23_6 pkg (.pin_1(EN), .pin_2(GND), .pin_3(SET), .pin_4(LEDK[3]), .pin_5(LEDK[2]), .pin_6(LEDK[1]) ); endmodule