Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Boards,MAXUSB,MiscDrivers,PeriphDrivers): Fix most IAR build errors and warnings for MAX32690 #899

Merged
merged 10 commits into from
Feb 1, 2024
36 changes: 18 additions & 18 deletions Libraries/Boards/MAX32690/EvKit_V1/Source/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,24 @@ const mxc_gpio_cfg_t led_pin[] = {
const unsigned int num_leds = (sizeof(led_pin) / sizeof(mxc_gpio_cfg_t));
// clang-format on

const mxc_gpio_cfg_t tft_mosi = (mxc_gpio_cfg_t){ .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_24,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_clk = (mxc_gpio_cfg_t){ .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_25,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_cs = (mxc_gpio_cfg_t){ .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_11,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_mosi = { .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_24,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_clk = { .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_25,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_cs = { .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_11,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };

/******************************************************************************/
void mxc_assert(const char *expr, const char *file, int line)
Expand Down
36 changes: 18 additions & 18 deletions Libraries/Boards/MAX32690/WLP_V1/Source/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,24 @@ const mxc_gpio_cfg_t led_pin[] = {
const unsigned int num_leds = (sizeof(led_pin) / sizeof(mxc_gpio_cfg_t));
// clang-format on

const mxc_gpio_cfg_t tft_mosi = (mxc_gpio_cfg_t){ .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_24,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_clk = (mxc_gpio_cfg_t){ .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_25,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_cs = (mxc_gpio_cfg_t){ .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_11,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_mosi = { .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_24,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_clk = { .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_25,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };
const mxc_gpio_cfg_t tft_cs = { .port = MXC_GPIO2,
.mask = MXC_GPIO_PIN_11,
.func = MXC_GPIO_FUNC_OUT,
.pad = MXC_GPIO_PAD_NONE,
.vssel = MXC_GPIO_VSSEL_VDDIOH,
.drvstr = MXC_GPIO_DRVSTR_0 };

/******************************************************************************/
void mxc_assert(const char *expr, const char *file, int line)
Expand Down
21 changes: 17 additions & 4 deletions Libraries/MAXUSB/src/core/musbhsfc/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,17 +675,30 @@ void MXC_USB_IrqHandler(maxusb_usbio_events_t *evt)
uint32_t saved_index;
uint32_t in_flags, out_flags, MXC_USB_flags, MXC_USB_mxm_flags;
int i, aborted = 0;
uint32_t intrusb, intrusben, intrin, intrinen, introut, introuten, mxm_int, mxm_int_en;

/* Save current index register */
saved_index = MXC_USBHS->index;

/* Note: Hardware clears these after read, so we must process them all or they are lost */
MXC_USB_flags = MXC_USBHS->intrusb & MXC_USBHS->intrusben;
in_flags = MXC_USBHS->intrin & MXC_USBHS->intrinen;
out_flags = MXC_USBHS->introut & MXC_USBHS->introuten;
/* Order of volatile accesses must be separated for IAR */
intrusb = MXC_USBHS->intrusb;
intrusben = MXC_USBHS->intrusben;
MXC_USB_flags = intrusb & intrusben;

intrin = MXC_USBHS->intrin;
intrinen = MXC_USBHS->intrinen;
in_flags = intrin & intrinen;

introut = MXC_USBHS->introut;
introuten = MXC_USBHS->introuten;
out_flags = introut & introuten;

/* These USB interrupt flags are W1C. */
MXC_USB_mxm_flags = MXC_USBHS->mxm_int & MXC_USBHS->mxm_int_en;
/* Order of volatile accesses must be separated for IAR */
mxm_int = MXC_USBHS->mxm_int;
mxm_int_en = MXC_USBHS->mxm_int_en;
MXC_USB_mxm_flags = mxm_int & mxm_int_en;
MXC_USBHS->mxm_int = MXC_USB_mxm_flags;

/* Map hardware-specific signals to generic stack events */
Expand Down
4 changes: 2 additions & 2 deletions Libraries/MiscDrivers/PushButton/pb.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int PB_RegisterCallback(unsigned int pb, pb_callback callback)
// Configure and enable interrupt
MXC_GPIO_IntConfig(&pb_pin[pb], MXC_GPIO_INT_FALLING);
MXC_GPIO_EnableInt(pb_pin[pb].port, pb_pin[pb].mask);
NVIC_EnableIRQ(MXC_GPIO_GET_IRQ(MXC_GPIO_GET_IDX(pb_pin[pb].port)));
NVIC_EnableIRQ((IRQn_Type)MXC_GPIO_GET_IRQ(MXC_GPIO_GET_IDX(pb_pin[pb].port)));
} else {
// Disable interrupt and clear callback
MXC_GPIO_DisableInt(pb_pin[pb].port, pb_pin[pb].mask);
Expand All @@ -79,7 +79,7 @@ int PB_RegisterCallbackRiseFall(unsigned int pb, pb_callback callback)
// Configure and enable interrupt
MXC_GPIO_IntConfig(&pb_pin[pb], MXC_GPIO_INT_BOTH);
MXC_GPIO_EnableInt(pb_pin[pb].port, pb_pin[pb].mask);
NVIC_EnableIRQ(MXC_GPIO_GET_IRQ(MXC_GPIO_GET_IDX(pb_pin[pb].port)));
NVIC_EnableIRQ((IRQn_Type)MXC_GPIO_GET_IRQ(MXC_GPIO_GET_IDX(pb_pin[pb].port)));
} else {
// Disable interrupt and clear callback
MXC_GPIO_DisableInt(pb_pin[pb].port, pb_pin[pb].mask);
Expand Down
1 change: 1 addition & 0 deletions Libraries/PeriphDrivers/Include/MAX32672/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ typedef enum {
MXC_DMA_REQUEST_I2C0RX = MXC_S_DMA_CTRL_REQUEST_I2C0RX, ///< I2C0 Receive DMA Request Selection
MXC_DMA_REQUEST_I2C1RX = MXC_S_DMA_CTRL_REQUEST_I2C1RX, ///< I2C1 Receive DMA Request Selection
MXC_DMA_REQUEST_I2C2RX = MXC_S_DMA_CTRL_REQUEST_I2C2RX, ///< I2C2 Receive DMA Request Selection
MXC_DMA_REQUEST_ADC = MXC_S_DMA_CTRL_REQUEST_ADC, ///< ADC Receive DMA Request Selection
MXC_DMA_REQUEST_UART2RX =
MXC_S_DMA_CTRL_REQUEST_UART2RX, ///< UART2 Receive DMA Request Selection
MXC_DMA_REQUEST_AESRX = MXC_S_DMA_CTRL_REQUEST_AESRX, ///< AES Receive DMA Request Selection
Expand Down
20 changes: 10 additions & 10 deletions Libraries/PeriphDrivers/Include/MAX32690/adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ extern "C" {
*
*/
typedef enum {
MXC_ADC_CH_0, ///< Select Channel 0
MXC_ADC_CH_0 = 0, ///< Select Channel 0
MXC_ADC_CH_1, ///< Select Channel 1
MXC_ADC_CH_2, ///< Select Channel 2
MXC_ADC_CH_3, ///< Select Channel 3
Expand Down Expand Up @@ -88,7 +88,7 @@ typedef enum {
* @brief Enumeration type for ADC clock divider
*/
typedef enum {
MXC_ADC_CLKDIV_2, ///< ADC Scale by 1/2
MXC_ADC_CLKDIV_2 = 0, ///< ADC Scale by 1/2
MXC_ADC_CLKDIV_4, ///< ADC Scale by 1/4
MXC_ADC_CLKDIV_8, ///< ADC Scale by 1/8
MXC_ADC_CLKDIV_16, ///< ADC Scale by 1/16
Expand All @@ -99,7 +99,7 @@ typedef enum {
* @brief Clock settings
*/
typedef enum {
MXC_ADC_HCLK, ///< HCLK CLock
MXC_ADC_HCLK = 0, ///< HCLK CLock
MXC_ADC_CLK_ADC0, ///< ADC0 Clock
MXC_ADC_CLK_ADC1, ///< ADC1 Clock
MXC_ADC_CLK_ADC2, ///< ADC2 Clock
Expand All @@ -109,23 +109,23 @@ typedef enum {
* @brief Calibration settings
*/
typedef enum {
MXC_ADC_SKIP_CAL, ///< HCLK CLock
MXC_ADC_SKIP_CAL = 0, ///< HCLK CLock
MXC_ADC_EN_CAL, ///< ADC0 Clock
} mxc_adc_calibration_t;

/**
* @brief trigger mode settings
*/
typedef enum {
MXC_ADC_TRIG_SOFTWARE, ///< Software Trigger
MXC_ADC_TRIG_SOFTWARE = 0, ///< Software Trigger
MXC_ADC_TRIG_HARDWARE, ///< Hardware Trigger
} mxc_adc_trig_mode_t;

/**
* @brief Hardware trigger select options
*/
typedef enum {
MXC_ADC_TRIG_SEL_TMR0, ///< Timer 0 Out Rising edge
MXC_ADC_TRIG_SEL_TMR0 = 0, ///< Timer 0 Out Rising edge
MXC_ADC_TRIG_SEL_TMR1, ///< Timer 1 Out Rising Edge
MXC_ADC_TRIG_SEL_TMR2, ///< Timer 2 Out Rising Edge
MXC_ADC_TRIG_SEL_TMR3, ///< Timer 3 Out Rising Edge
Expand All @@ -139,7 +139,7 @@ typedef enum {
* @brief trigger mode settings
*/
typedef enum {
MXC_ADC_ATOMIC_CONV, ///< Software Trigger
MXC_ADC_ATOMIC_CONV = 0, ///< Software Trigger
MXC_ADC_CONTINUOUS_CONV, ///< Hardware Trigger
} mxc_adc_conversion_mode_t;

Expand All @@ -156,7 +156,7 @@ typedef enum {
* @brief Reference voltage select type.
*/
typedef enum {
MXC_ADC_REF_EXT, ///< Use external reference voltage source
MXC_ADC_REF_EXT = 0, ///< Use external reference voltage source
MXC_ADC_REF_INT_1V25, ///< Use internal 1.25V source
MXC_ADC_REF_INT_2V048, ///< Use internal 2.048V souce
} mxc_adc_refsel_t;
Expand All @@ -166,7 +166,7 @@ typedef enum {
*/

typedef enum {
MXC_ADC_DIV_2_5K_50K_ENABLE, ///< 2.5K and 50K divide by 2 enable in lpmode
MXC_ADC_DIV_2_5K_50K_ENABLE = 0, ///< 2.5K and 50K divide by 2 enable in lpmode
MXC_ADC_DIV_2_5K_DISABLE, ///< 2.5K disable and 50K divide by 2 enable in lpmode
MXC_ADC_DIV_50K_DISABLE, ///< 2.5K enable and 50K divide by 2 disable in lpmode
MXC_ADC_DIV_2_5K_50K_DISABLE, ///< 2.5K and 50K divide by 2 disable in lpmode
Expand All @@ -176,7 +176,7 @@ typedef enum {
* @brief Data FIFO data format
*/
typedef enum {
MXC_ADC_DATA_STATUS, ///< Data(12-bit) plus Status
MXC_ADC_DATA_STATUS = 0, ///< Data(12-bit) plus Status
MXC_ADC_DATA, ///< Data(12-bit) only
MXC_ADC_RAW_DATA, ///< 18-bit raw data
} mxc_adc_fifodataformat_t;
Expand Down
15 changes: 8 additions & 7 deletions Libraries/PeriphDrivers/Include/MAX32690/can.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ typedef struct {
* @brief Selects power state of the CAN peripherals
*/
typedef enum {
MXC_CAN_PWR_CTRL_OFF, ///< Shut off power to peripherals
MXC_CAN_PWR_CTRL_OFF = 0, ///< Shut off power to peripherals
MXC_CAN_PWR_CTRL_SLEEP, ///< Put peripherals to sleep
MXC_CAN_PWR_CTRL_FULL, ///< Peripherals fully awake
} mxc_can_pwr_ctrl_t;
Expand All @@ -155,15 +155,15 @@ typedef enum {
* @brief Selects which bitrate to perform operation on
*/
typedef enum {
MXC_CAN_BITRATE_SEL_NOMINAL, ///< Set bitrate for classic CAN frames
MXC_CAN_BITRATE_SEL_NOMINAL = 0, ///< Set bitrate for classic CAN frames
MXC_CAN_BITRATE_SEL_FD_DATA, ///< Reserved for future use. Not supported on MAX32690, included to prevent build errors.
} mxc_can_bitrate_sel_t;

/**
* @brief Selects the CAN driver's mode of operation
*/
typedef enum {
MXC_CAN_MODE_INITIALIZATION, ///< Reset mode
MXC_CAN_MODE_INITIALIZATION = 0, ///< Reset mode
MXC_CAN_MODE_NORMAL, ///< Normal operating mode
MXC_CAN_MODE_RESTRICTED, ///< Restricted mode
MXC_CAN_MODE_MONITOR, ///< Listen-only mode
Expand Down Expand Up @@ -253,7 +253,7 @@ typedef struct {
* @brief Used to set the features available to a CAN object
*/
typedef enum {
MXC_CAN_OBJ_CFG_INACTIVE, ///< Object disabled
MXC_CAN_OBJ_CFG_INACTIVE = 0, ///< Object disabled
MXC_CAN_OBJ_CFG_TXRX, ///< Object can transmit and/or receive messages
MXC_CAN_OBJ_CFG_RSV, ///< Reserved for future use
MXC_CAN_OBJ_CFG_RX_RTR_TX_DATA, ///< NOT SUPPORTED ON MAX32690
Expand All @@ -264,7 +264,8 @@ typedef enum {
* @brief Selects the control operation for the CAN driver to perform
*/
typedef enum {
MXC_CAN_CTRL_SET_FD_MODE, ///< No effect on MAX32690 (FD mode always enabled when CAN active)
MXC_CAN_CTRL_SET_FD_MODE =
0, ///< No effect on MAX32690 (FD mode always enabled when CAN active)
MXC_CAN_CTRL_ABORT_TX, ///< Abort transmission
MXC_CAN_CTRL_RETRANSMISSION, ///< Enable/disable auto retransmission on error
MXC_CAN_CTRL_TRANSCEIVER_DLY, ///< Set transceiver delay
Expand All @@ -274,7 +275,7 @@ typedef enum {
* @brief State which bus has entered to trigger unit event
*/
typedef enum {
MXC_CAN_UNIT_EVT_INACTIVE, ///< Peripherals entered inactive state (sleep, shutdown)
MXC_CAN_UNIT_EVT_INACTIVE = 0, ///< Peripherals entered inactive state (sleep, shutdown)
MXC_CAN_UNIT_EVT_ACTIVE, ///< Peripherals entered active state
MXC_CAN_UNIT_EVT_WARNING, ///< Peripheral received error warning
MXC_CAN_UNIT_EVT_PASSIVE, ///< Peripheral entered passive state
Expand All @@ -285,7 +286,7 @@ typedef enum {
* @brief Selects which object to notify/handle
*/
typedef enum {
MXC_CAN_OBJ_EVT_TX_COMPLETE, ///< Transmission complete
MXC_CAN_OBJ_EVT_TX_COMPLETE = 0, ///< Transmission complete
MXC_CAN_OBJ_EVT_RX, ///< Message received
MXC_CAN_OBJ_EVT_RX_OVERRUN, ///< RXFIFO overflow
} mxc_can_obj_evt_t;
Expand Down
2 changes: 1 addition & 1 deletion Libraries/PeriphDrivers/Include/MAX32690/crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ typedef struct _mxc_crc_req_t {
* @brief CRC data bit order
*
*/
typedef enum { CRC_LSB_FIRST, CRC_MSB_FIRST } mxc_crc_bitorder_t;
typedef enum { CRC_LSB_FIRST = 0, CRC_MSB_FIRST } mxc_crc_bitorder_t;

/***** Function Prototypes *****/

Expand Down
5 changes: 4 additions & 1 deletion Libraries/PeriphDrivers/Include/MAX32690/ctb.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,10 @@ typedef enum {
* @brief Cipher operation
*
*/
typedef enum { MXC_CTB_CIPHER_ENCRYPTION, MXC_CTB_CIPHER_DECRYPTION } mxc_ctb_cipher_operation_t;
typedef enum {
MXC_CTB_CIPHER_ENCRYPTION = 0,
MXC_CTB_CIPHER_DECRYPTION
} mxc_ctb_cipher_operation_t;

/***** Function Prototypes *****/

Expand Down
12 changes: 6 additions & 6 deletions Libraries/PeriphDrivers/Include/MAX32690/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ typedef void (*mxc_gpio_callback_fn)(void *cbdata);
* @brief Enumeration type for the GPIO Function Type
*/
typedef enum {
MXC_GPIO_FUNC_IN, /**< GPIO Input */
MXC_GPIO_FUNC_IN = 0, /**< GPIO Input */
MXC_GPIO_FUNC_OUT, /**< GPIO Output */
MXC_GPIO_FUNC_ALT1, /**< Alternate Function Selection */
MXC_GPIO_FUNC_ALT2, /**< Alternate Function Selection */
Expand All @@ -122,15 +122,15 @@ typedef enum {
* @brief Enumeration type for the voltage level on a given pin.
*/
typedef enum {
MXC_GPIO_VSSEL_VDDIO, /**< Set pin to VIDDIO voltage */
MXC_GPIO_VSSEL_VDDIO = 0, /**< Set pin to VIDDIO voltage */
MXC_GPIO_VSSEL_VDDIOH, /**< Set pin to VIDDIOH voltage */
} mxc_gpio_vssel_t;

/**
* @brief Enumeration type for drive strength on a given pin.
*/
typedef enum {
MXC_GPIO_DRVSTR_0, /**< Drive Strength 0 */
MXC_GPIO_DRVSTR_0 = 0, /**< Drive Strength 0 */
MXC_GPIO_DRVSTR_1, /**< Drive Strength 1 */
MXC_GPIO_DRVSTR_2, /**< Drive Strength 2 */
MXC_GPIO_DRVSTR_3, /**< Drive Strength 3 */
Expand All @@ -140,7 +140,7 @@ typedef enum {
* @brief Enumeration type for the type of GPIO pad on a given pin.
*/
typedef enum {
MXC_GPIO_PAD_NONE, /**< No pull-up or pull-down */
MXC_GPIO_PAD_NONE = 0, /**< No pull-up or pull-down */
MXC_GPIO_PAD_PULL_UP, /**< Set pad to strong pull-up */
MXC_GPIO_PAD_PULL_DOWN, /**< Set pad to strong pull-down */
MXC_GPIO_PAD_WEAK_PULL_UP, /**< Set pad to weak pull-up */
Expand All @@ -163,15 +163,15 @@ typedef struct {
* @brief Enumeration type for the interrupt modes.
*/
typedef enum {
MXC_GPIO_INT_LEVEL, /**< Interrupt is level sensitive */
MXC_GPIO_INT_LEVEL = 0, /**< Interrupt is level sensitive */
MXC_GPIO_INT_EDGE /**< Interrupt is edge sensitive */
} mxc_gpio_int_mode_t;

/**
* @brief Enumeration type for the interrupt polarity.
*/
typedef enum {
MXC_GPIO_INT_FALLING, /**< Interrupt triggers on falling edge */
MXC_GPIO_INT_FALLING = 0, /**< Interrupt triggers on falling edge */
MXC_GPIO_INT_HIGH, /**< Interrupt triggers when level is high */
MXC_GPIO_INT_RISING, /**< Interrupt triggers on rising edge */
MXC_GPIO_INT_LOW, /**< Interrupt triggers when level is low */
Expand Down
2 changes: 1 addition & 1 deletion Libraries/PeriphDrivers/Include/MAX32690/i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ struct _i2c_req_t {
* application to handle these events.
*/
typedef enum {
MXC_I2C_EVT_MASTER_WR, ///< A slave address match occurred with the master
MXC_I2C_EVT_MASTER_WR = 0, ///< A slave address match occurred with the master
///< requesting a write to the slave.
MXC_I2C_EVT_MASTER_RD, ///< A slave address match occurred with the master
///< requesting a read from the slave.
Expand Down
Loading
Loading