• Daniel Campora's avatar
    cc3200: Make API more similar to stmhal. · 2dd47239
    Daniel Campora authored
    In general the changes are:
    1. Peripheral (UART, SPI, ADC, I2C, Timer) IDs start from 1, not zero.
    2. Make I2C and SPI require the ID even when there's only one bus.
    3. Make I2C and SPI accept 'mode' parameter even though only MASTER
       is supported.