Kevin O'Connor
a40df4b6f7
lpc176x: Move enable_peripheral_clock to main.c
...
Move and rename function to enable_pclock() - in keeping with other
ARM ports.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-01-04 11:00:09 -05:00
Kevin O'Connor
cbbc6801a0
lpc176x: Enable full speed peripheral clocks on SPI and I2C
...
Scale the bus speed within the peripheral instead of on the system bus
as scaling on the system bus slows down general register access to the
peripheral.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-11-21 20:44:39 -05:00
Kevin O'Connor
f3c4deb1ab
lpc176x: Convert i2c code to use standard i2ccmds.c
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-11-14 10:23:56 -05:00
Kevin O'Connor
d725160706
mcp4451: Add initial support for programming the mcp4451 on lpc176x
...
Add support for programming smoothieboard current.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-06-29 21:20:12 -04:00