File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -470,6 +470,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
470470 */
471471void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
472472
473+ /**
474+ * @brief Gets and clears the interrupt flags that are currently set
475+ *
476+ * These functions should not be used while using non-blocking Transaction Level
477+ * functions (Async or DMA)
478+ *
479+ * @param spi Pointer to SPI registers (selects the SPI block used.)
480+ *
481+ * @return The interrupt flags
482+ */
483+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
484+
473485/**
474486 * @brief Enables specific interrupts
475487 *
Original file line number Diff line number Diff line change @@ -478,6 +478,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
478478 */
479479void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
480480
481+ /**
482+ * @brief Gets and clears the interrupt flags that are currently set
483+ *
484+ * These functions should not be used while using non-blocking Transaction Level
485+ * functions (Async or DMA)
486+ *
487+ * @param spi Pointer to SPI registers (selects the SPI block used.)
488+ *
489+ * @return The interrupt flags
490+ */
491+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
492+
481493/**
482494 * @brief Enables specific interrupts
483495 *
Original file line number Diff line number Diff line change @@ -320,6 +320,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
320320 */
321321void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
322322
323+ /**
324+ * @brief Gets and clears the interrupt flags that are currently set
325+ *
326+ * These functions should not be used while using non-blocking Transaction Level
327+ * functions (Async or DMA)
328+ *
329+ * @param spi Pointer to SPI registers (selects the SPI block used.)
330+ *
331+ * @return The interrupt flags
332+ */
333+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
334+
323335/**
324336 * @brief Enables specific interrupts
325337 *
Original file line number Diff line number Diff line change @@ -480,6 +480,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
480480 */
481481void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
482482
483+ /**
484+ * @brief Gets and clears the interrupt flags that are currently set
485+ *
486+ * These functions should not be used while using non-blocking Transaction Level
487+ * functions (Async or DMA)
488+ *
489+ * @param spi Pointer to SPI registers (selects the SPI block used.)
490+ *
491+ * @return The interrupt flags
492+ */
493+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
494+
483495/**
484496 * @brief Enables specific interrupts
485497 *
Original file line number Diff line number Diff line change @@ -523,6 +523,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
523523 */
524524void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
525525
526+ /**
527+ * @brief Gets and clears the interrupt flags that are currently set
528+ *
529+ * These functions should not be used while using non-blocking Transaction Level
530+ * functions (Async or DMA)
531+ *
532+ * @param spi Pointer to SPI registers (selects the SPI block used.)
533+ *
534+ * @return The interrupt flags
535+ */
536+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
537+
526538/**
527539 * @brief Enables specific interrupts
528540 *
Original file line number Diff line number Diff line change @@ -522,6 +522,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
522522 */
523523void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
524524
525+ /**
526+ * @brief Gets and clears the interrupt flags that are currently set
527+ *
528+ * These functions should not be used while using non-blocking Transaction Level
529+ * functions (Async or DMA)
530+ *
531+ * @param spi Pointer to SPI registers (selects the SPI block used.)
532+ *
533+ * @return The interrupt flags
534+ */
535+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
536+
525537/**
526538 * @brief Enables specific interrupts
527539 *
Original file line number Diff line number Diff line change @@ -476,6 +476,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
476476 */
477477void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
478478
479+ /**
480+ * @brief Gets and clears the interrupt flags that are currently set
481+ *
482+ * These functions should not be used while using non-blocking Transaction Level
483+ * functions (Async or DMA)
484+ *
485+ * @param spi Pointer to SPI registers (selects the SPI block used.)
486+ *
487+ * @return The interrupt flags
488+ */
489+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
490+
479491/**
480492 * @brief Enables specific interrupts
481493 *
Original file line number Diff line number Diff line change @@ -501,6 +501,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
501501 */
502502void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
503503
504+ /**
505+ * @brief Gets and clears the interrupt flags that are currently set
506+ *
507+ * These functions should not be used while using non-blocking Transaction Level
508+ * functions (Async or DMA)
509+ *
510+ * @param spi Pointer to SPI registers (selects the SPI block used.)
511+ *
512+ * @return The interrupt flags
513+ */
514+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
515+
504516/**
505517 * @brief Enables specific interrupts
506518 *
Original file line number Diff line number Diff line change @@ -478,6 +478,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
478478 */
479479void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
480480
481+ /**
482+ * @brief Gets and clears the interrupt flags that are currently set
483+ *
484+ * These functions should not be used while using non-blocking Transaction Level
485+ * functions (Async or DMA)
486+ *
487+ * @param spi Pointer to SPI registers (selects the SPI block used.)
488+ *
489+ * @return The interrupt flags
490+ */
491+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
492+
481493/**
482494 * @brief Enables specific interrupts
483495 *
Original file line number Diff line number Diff line change @@ -476,6 +476,18 @@ unsigned int MXC_SPI_GetFlags(mxc_spi_regs_t *spi);
476476 */
477477void MXC_SPI_ClearFlags (mxc_spi_regs_t * spi );
478478
479+ /**
480+ * @brief Gets and clears the interrupt flags that are currently set
481+ *
482+ * These functions should not be used while using non-blocking Transaction Level
483+ * functions (Async or DMA)
484+ *
485+ * @param spi Pointer to SPI registers (selects the SPI block used.)
486+ *
487+ * @return The interrupt flags
488+ */
489+ unsigned int MXC_SPI_GetAndClearFlags (mxc_spi_regs_t * spi );
490+
479491/**
480492 * @brief Enables specific interrupts
481493 *
You can’t perform that action at this time.
0 commit comments