MLC interface driver
|
Macros | |
#define | CHECK_BTN_S5() !GpioDataRegs.GPADAT.bit.GPIO28 |
#define | CHECK_BTN_S5() !GpioDataRegs.GPFDAT.bit.GPIOF8 |
#define | CHECK_BTN_S5() gioGetBit(gioPORTA, 3) |
#define | CHECK_BTN_S8() !GpioDataRegs.GPADAT.bit.GPIO29 |
#define | CHECK_BTN_S8() !GpioDataRegs.GPFDAT.bit.GPIOF9 |
#define | CHECK_BTN_S8() gioGetBit(gioPORTA, 2) |
#define | CHECK_BTN_S6() !GpioDataRegs.GPADAT.bit.GPIO30 |
#define | CHECK_BTN_S6() !GpioDataRegs.GPFDAT.bit.GPIOF10 |
#define | CHECK_BTN_S6() gioGetBit(gioPORTA, 4) |
#define | CHECK_BTN_S7() 0 |
#define | CHECK_BTN_S7() !GpioDataRegs.GPFDAT.bit.GPIOF11 |
#define | CHECK_BTN_S7() gioGetBit(gioPORTA, 0) |
Functions | |
void | DELAY_US (float us) |
#define CHECK_BTN_S5 | ( | ) | !GpioDataRegs.GPADAT.bit.GPIO28 |
#define CHECK_BTN_S5 | ( | ) | !GpioDataRegs.GPFDAT.bit.GPIOF8 |
#define CHECK_BTN_S5 | ( | ) | gioGetBit(gioPORTA, 3) |
#define CHECK_BTN_S6 | ( | ) | !GpioDataRegs.GPADAT.bit.GPIO30 |
#define CHECK_BTN_S6 | ( | ) | !GpioDataRegs.GPFDAT.bit.GPIOF10 |
#define CHECK_BTN_S6 | ( | ) | gioGetBit(gioPORTA, 4) |
#define CHECK_BTN_S7 | ( | ) | 0 |
#define CHECK_BTN_S7 | ( | ) | !GpioDataRegs.GPFDAT.bit.GPIOF11 |
#define CHECK_BTN_S7 | ( | ) | gioGetBit(gioPORTA, 0) |
#define CHECK_BTN_S8 | ( | ) | !GpioDataRegs.GPADAT.bit.GPIO29 |
#define CHECK_BTN_S8 | ( | ) | !GpioDataRegs.GPFDAT.bit.GPIOF9 |
#define CHECK_BTN_S8 | ( | ) | gioGetBit(gioPORTA, 2) |
void DELAY_US | ( | float | us | ) |
This function provides simple delay up to 330s with us resolution, however it is not much precise if delay < 10us.
Definition at line 225 of file MLC_drv.c.
Referenced by MLC_ADC_reset(), MLC_ADC_setup(), MLC_ADC_start_conv(), MLC_ADC_start_one_conv(), and MLC_DAC_reset().