On 08/05/11 18:29, Luca Olivetti wrote: > Al 08/05/11 11:13, En/na John Crispin ha escrit: > >> EBU - external bus unit >> similar to STP but parallel. the xway has 4 x 16 bit ioport ranges that >> can be mapped to a special memory location. data written to that >> location is that physically written to the D0-15 lines on the memory >> bus. in addition a CS line is toggled. this allows you to use a 8-16bit >> latch to latch out the data. a common chip used for this is 74*373 > > Thank you for the detailed explanation. > I have an LVC373A (octal latch), so it's probably EBU, isn't it? > How do I try it? > > Bye
try this lq_register_gpio_ebu(XYZ); as the latch comes up in a undefined state, the values are random. to work around this, we pass a default value that gets applied. for example if oyu have a 8 bit latch XYZ->0x80 would result in 1 pin high and 7 low ... _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel