git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14575 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2021-06-27 06:57:50 +00:00
parent 8f8bad57f9
commit 2cbee868c9
16 changed files with 39 additions and 39 deletions

View File

@ -150,7 +150,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -66,7 +66,7 @@
* @details An instance of this structure must be passed to @p sdStart() * @details An instance of this structure must be passed to @p sdStart()
* in order to configure and start a serial driver operations. * in order to configure and start a serial driver operations.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Initialization value for the BRR register. * @brief Initialization value for the BRR register.
*/ */

View File

@ -73,7 +73,7 @@ typedef uint32_t uartflags_t;
/** /**
* @brief Structure representing an UART driver. * @brief Structure representing an UART driver.
*/ */
typedef struct UARTDriver UARTDriver; typedef struct hal_uart_driver UARTDriver;
/** /**
* @brief Generic UART notification callback type. * @brief Generic UART notification callback type.
@ -99,10 +99,10 @@ typedef void (*uartccb_t)(UARTDriver *uartp, uint16_t c);
typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e); typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e);
/** /**
* @brief Driver configuration structure. * @brief Type of an UART configuration structure.
* @note It could be empty on some architectures. * @note It could be empty on some architectures.
*/ */
typedef struct { typedef struct hal_uart_config {
/** /**
* @brief End of transmission buffer callback. * @brief End of transmission buffer callback.
*/ */
@ -133,7 +133,7 @@ typedef struct {
/** /**
* @brief Structure representing an UART driver. * @brief Structure representing an UART driver.
*/ */
struct UARTDriver { struct hal_uart_driver {
/** /**
* @brief Driver state. * @brief Driver state.
*/ */

View File

@ -113,7 +113,7 @@ typedef enum {
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -229,9 +229,9 @@ typedef enum {
typedef uint8_t uartflags_t; typedef uint8_t uartflags_t;
/** /**
* @brief Type of structure representing an UART driver. * @brief Type of an UART driver.
*/ */
typedef struct UARTDriver UARTDriver; typedef struct hal_uart_driver UARTDriver;
/** /**
* @brief Generic UART notification callback type. * @brief Generic UART notification callback type.
@ -259,11 +259,11 @@ typedef void (*uartccb_t)(UARTDriver *uartp, uint16_t c);
typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e); typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e);
/** /**
* @brief Driver configuration structure. * @brief Type of an UART configuration structure.
* @note Implementations may extend this structure to contain more, * @note Implementations may extend this structure to contain more,
* architecture dependent, fields. * architecture dependent, fields.
*/ */
typedef struct { typedef struct hal_uart_config {
/** /**
* @brief End of transmission buffer callback. * @brief End of transmission buffer callback.
*/ */
@ -324,7 +324,7 @@ typedef struct {
* @note Implementations may extend this structure to contain more, * @note Implementations may extend this structure to contain more,
* architecture dependent, fields. * architecture dependent, fields.
*/ */
struct UARTDriver { struct hal_uart_driver {
/** /**
* @brief Driver state. * @brief Driver state.
*/ */

View File

@ -97,7 +97,7 @@
* @details An instance of this structure must be passed to @p sdStart() * @details An instance of this structure must be passed to @p sdStart()
* in order to configure and start a serial driver operations. * in order to configure and start a serial driver operations.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -128,7 +128,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -488,7 +488,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -187,9 +187,9 @@
/*===========================================================================*/ /*===========================================================================*/
/** /**
* @brief Type of a structure representing an CAN driver. * @brief Type of a CAN driver.
*/ */
typedef struct CANDriver CANDriver; typedef struct hal_can_driver CANDriver;
/** /**
* @brief Type of a transmission mailbox index. * @brief Type of a transmission mailbox index.
@ -303,9 +303,9 @@ typedef struct {
} CANFilter; } CANFilter;
/** /**
* @brief Driver configuration structure. * @brief Type of a CAN configuration structure.
*/ */
typedef struct { typedef struct hal_can_config {
/** /**
* @brief CAN MCR register initialization data. * @brief CAN MCR register initialization data.
* @note Some bits in this register are enforced by the driver regardless * @note Some bits in this register are enforced by the driver regardless
@ -323,7 +323,7 @@ typedef struct {
/** /**
* @brief Structure representing an CAN driver. * @brief Structure representing an CAN driver.
*/ */
struct CANDriver { struct hal_can_driver {
/** /**
* @brief Driver state. * @brief Driver state.
*/ */

View File

@ -148,9 +148,9 @@
/*===========================================================================*/ /*===========================================================================*/
/** /**
* @brief Type of a structure representing an CAN driver. * @brief Type of a CAN driver.
*/ */
typedef struct CANDriver CANDriver; typedef struct hal_can_driver CANDriver;
/** /**
* @brief Type of a transmission mailbox index. * @brief Type of a transmission mailbox index.
@ -313,9 +313,9 @@ typedef struct {
/** /**
* @brief Driver configuration structure. * @brief Type of a CAN configuration structure.
*/ */
typedef struct { typedef struct hal_can_config {
/** /**
* @brief Nominal bit timing and prescaler register. * @brief Nominal bit timing and prescaler register.
*/ */
@ -341,7 +341,7 @@ typedef struct {
/** /**
* @brief Structure representing an CAN driver. * @brief Structure representing an CAN driver.
*/ */
struct CANDriver { struct hal_can_driver {
/** /**
* @brief Driver state. * @brief Driver state.
*/ */

View File

@ -395,7 +395,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -746,9 +746,9 @@
typedef uint32_t uartflags_t; typedef uint32_t uartflags_t;
/** /**
* @brief Structure representing an UART driver. * @brief Type of an UART driver.
*/ */
typedef struct UARTDriver UARTDriver; typedef struct hal_uart_driver UARTDriver;
/** /**
* @brief Generic UART notification callback type. * @brief Generic UART notification callback type.
@ -774,10 +774,10 @@ typedef void (*uartccb_t)(UARTDriver *uartp, uint16_t c);
typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e); typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e);
/** /**
* @brief Driver configuration structure. * @brief Type of an UART configuration structure.
* @note It could be empty on some architectures. * @note It could be empty on some architectures.
*/ */
typedef struct { typedef struct hal_uart_config {
/** /**
* @brief End of transmission buffer callback. * @brief End of transmission buffer callback.
*/ */
@ -826,7 +826,7 @@ typedef struct {
/** /**
* @brief Structure representing an UART driver. * @brief Structure representing an UART driver.
*/ */
struct UARTDriver { struct hal_uart_driver {
/** /**
* @brief Driver state. * @brief Driver state.
*/ */

View File

@ -508,7 +508,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
/** /**
* @brief Bit rate. * @brief Bit rate.
*/ */

View File

@ -688,9 +688,9 @@
typedef uint32_t uartflags_t; typedef uint32_t uartflags_t;
/** /**
* @brief Structure representing an UART driver. * @brief Type of an UART driver.
*/ */
typedef struct UARTDriver UARTDriver; typedef struct hal_uart_driver UARTDriver;
/** /**
* @brief Generic UART notification callback type. * @brief Generic UART notification callback type.
@ -716,10 +716,10 @@ typedef void (*uartccb_t)(UARTDriver *uartp, uint16_t c);
typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e); typedef void (*uartecb_t)(UARTDriver *uartp, uartflags_t e);
/** /**
* @brief Driver configuration structure. * @brief Type of an UART configuration structure.
* @note It could be empty on some architectures. * @note It could be empty on some architectures.
*/ */
typedef struct { typedef struct hal_uart_config {
/** /**
* @brief End of transmission buffer callback. * @brief End of transmission buffer callback.
*/ */
@ -774,7 +774,7 @@ typedef struct {
/** /**
* @brief Structure representing an UART driver. * @brief Structure representing an UART driver.
*/ */
struct UARTDriver { struct hal_uart_driver {
/** /**
* @brief Driver state. * @brief Driver state.
*/ */

View File

@ -88,7 +88,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
} SerialConfig; } SerialConfig;
/** /**

View File

@ -88,7 +88,7 @@
* implementation defines its own version and the custom static * implementation defines its own version and the custom static
* initializers. * initializers.
*/ */
typedef struct { typedef struct hal_serial_config {
} SerialConfig; } SerialConfig;
/** /**