Better struct comment
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
/************************** Data Type Definitions ****************************/
|
||||
|
||||
/**
|
||||
* @struct SystemBus Config
|
||||
* @struct SYSBUS_CONFIG
|
||||
* @brief SystemBus Config struct holds SystemBus initialization parameters
|
||||
*/
|
||||
typedef struct
|
||||
@@ -40,7 +40,7 @@ typedef struct
|
||||
} SYSBUS_CONFIG;
|
||||
|
||||
/**
|
||||
* @struct SystemBus Instance
|
||||
* @struct SYSBUS
|
||||
* @brief SystemBus Instance struct
|
||||
*/
|
||||
typedef struct
|
||||
|
||||
@@ -69,16 +69,28 @@
|
||||
IO_In32((baseAddr) + (offset))
|
||||
|
||||
/************************** Data Type Definitions ****************************/
|
||||
/**
|
||||
* @struct SYSBUS_UART_CONFIG
|
||||
* @brief SystemBus UART driver initialization parameters
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
uintptr_t baseAddr;
|
||||
} SYSBUS_UART_CONFIG;
|
||||
|
||||
/**
|
||||
* @struct SYSBUS_UART
|
||||
* @brief SystemBus UART driver instance
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
SYSBUS_UART_CONFIG config;
|
||||
} SYSBUS_UART;
|
||||
|
||||
/**
|
||||
* @struct SYSBUS_UART_FRAME
|
||||
* @brief SystemBus UART frame definition
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
uint16_t len;
|
||||
|
||||
Reference in New Issue
Block a user