Fork of MAX32630FTHR utilities library
Dependents: MAX32630FTHR_BALANCE_BOT MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAX32630FTHR_BALANCE_BOT
Fork of max32630fthr by
Diff: max32630fthr.h
- Revision:
- 3:b735212d2fe5
- Parent:
- 2:7a1d7d6d520e
- Child:
- 6:92b485e70885
diff -r 7a1d7d6d520e -r b735212d2fe5 max32630fthr.h --- a/max32630fthr.h Sun Nov 20 23:41:01 2016 +0000 +++ b/max32630fthr.h Tue Dec 06 21:38:13 2016 +0000 @@ -41,25 +41,25 @@ * @brief MAX32630FTHR Board Support Library * * @details The MAX32630FTHR is a rapid development application board for - * ultra low power wearable applications. It includes common peripherals and - * expansion connectors all power optimized for getting the longest life from + * ultra low power wearable applications. It includes common peripherals and + * expansion connectors all power optimized for getting the longest life from * the battery. This library configures the power and I/O for the board. * <br>https://www.maximintegrated.com/max32630fthr * * @code * #include "mbed.h" * #include "max32630fthr.h" - * + * * DigitalOut led1(LED1); * MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3); - * + * * // main() runs in its own thread in the OS * // (note the calls to Thread::wait below for delays) * int main() * { * // initialize power and I/O on MAX32630FTHR board * pegasus.init(); - * + * * while (true) { * led1 = !led1; * Thread::wait(500); @@ -107,14 +107,14 @@ /** * @brief Sets I/O Voltage * @details Sets the voltage rail to be used for a given pin. - * VIO_1V8 selects VDDIO which is supplied by Buck2, which is set at 1.8V, + * VIO_1V8 selects VDDIO which is supplied by Buck2, which is set at 1.8V, * VIO_3V3 selects VDDIOH which is supplied by LDO2, which is typically 3.3V/ * @param pin Pin whose voltage supply is being assigned. * @param vio Voltage rail to be used for specified pin. * @returns 0 if no errors, -1 if error. */ int vddioh(PinName pin, vio_t vio); - + /// Local I2C bus for configuring PMIC and accessing BMI160 IMU. I2C i2c; @@ -122,7 +122,7 @@ MAX14690 max14690; /// The default I/O voltage to be used for header pins. - vio_t hdrVio; + vio_t hdrVio; };