FreeCalypso > hg > freecalypso-schem2
diff venus/src/periph/bl_current_sink.v @ 47:9f5a3567d699
progress toward LCD integration
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 Nov 2021 02:09:46 +0000 |
parents | |
children | d55824058cfc |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/venus/src/periph/bl_current_sink.v Sat Nov 27 02:09:46 2021 +0000 @@ -0,0 +1,22 @@ +module bl_current_sink (GND, Vio, BL_GPIO9, BL_GPIO11, BL_GPIO12, LEDK); + +input GND, Vio; +input BL_GPIO9, BL_GPIO11, BL_GPIO12; +output [1:3] LEDK; + +wire SET; + +MAX1916 MAX1916 (.GND(GND), + .EN(BL_GPIO9), + .SET(SET), + .LEDK(LEDK) + ); + +bl_current_select cursel (.GND(GND), + .Vio(Vio), + .BL_GPIO11(BL_GPIO11), + .BL_GPIO12(BL_GPIO12), + .SET(SET) + ); + +endmodule