redid the mcc graphical stuff

This commit is contained in:
2025-02-02 11:11:54 -05:00
parent ea24f650d1
commit 988765e2c2
22 changed files with 948 additions and 184 deletions

View File

@@ -7,7 +7,7 @@
*
* @brief This file contains API prototypes and other datatypes for the Enhanced Universal Synchronous and Asynchronous Receiver Transceiver (EUSART) module.
*
* @version EUSART1 Driver Version 3.0.1
* @version EUSART1 Driver Version 3.0.2
*/
/*
<EFBFBD> [2025] Microchip Technology Inc. and its subsidiaries.
@@ -36,13 +36,6 @@
#include <stdbool.h>
#include <stdint.h>
/**
@ingroup eusart1
@def Standard Input Output functions
@misradeviation{@required, 21.6} This inclusion is essential for UART module to use Printf function for print the character.
*/
/* cppcheck-suppress misra-c2012-21.6 */
#include <stdio.h>
#include "../system/system.h"
#include "uart_drv_interface.h"
@@ -89,6 +82,11 @@
@struct eusart1_status_t
@brief This is a structure defined for errors in reception of data.
*/
/**
* @misradeviation{@advisory,19.2}
* The UART error status necessitates checking the bitfield and accessing the status within the group byte therefore the use of a union is essential.
*/
/* cppcheck-suppress misra-c2012-19.2 */
typedef union {
struct {
uint8_t perr : 1; /**<This is a bit field for Parity Error status*/

View File

@@ -7,7 +7,7 @@
*
* @brief This is the generated driver implementation file for the EUSART1 driver using the Enhanced Universal Synchronous and Asynchronous Receiver Transceiver (EUSART) module.
*
* @version EUSART1 Driver Version 3.0.1
* @version EUSART1 Driver Version 3.0.2
*/
/*
@@ -74,6 +74,11 @@ const uart_drv_interface_t UART1 = {
/**
Section: EUSART1 variables
*/
/**
* @misradeviation{@advisory,19.2}
* The UART error status necessitates checking the bitfield and accessing the status within the group byte therefore the use of a union is essential.
*/
/* cppcheck-suppress misra-c2012-19.2 */
static volatile eusart1_status_t eusart1RxLastError;
/**