view 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 source

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