aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/spi.c
Commit message (Collapse)AuthorAgeFilesLines
* avr: Simplify spi mode settingKevin O'Connor2019-05-071-22/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-041-6/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spicmds: Check for an incorrect mode in spicmds.cKevin O'Connor2018-11-301-1/+1
| | | | | | | Check the mode parameter in spicmds.c so that the mcu code does not need to check it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Split gpio.c into gpio.c, adc.c, hard_pwm.c, and spi.cKevin O'Connor2018-11-201-0/+120
Split up gpio.c into multiple files in an effort to make the code a little more understandable. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>