Re: Notes from HAL discussions on sterly_refactor

2016-09-19 Thread Christopher Collins
Hi Will, On Mon, Sep 19, 2016 at 06:07:55PM -0700, will sanfilippo wrote: > The new HAL SPI API is shown below. Highlights of the changes are: [...] These changes look great. I just have a comment and a question: > /** > * Initialize the SPI, given by spi_num. > * > * @param spi_num The

Re: Notes from HAL discussions on sterly_refactor

2016-09-19 Thread will sanfilippo
The new HAL SPI API is shown below. Highlights of the changes are: * Moved spi_type, transmit/receive callback and argument out of hal_spi_settings and into device specific structure. This was done as these are the parameters we might expect someone to want to reconfigure an initialized SPI