stm8: fix timer definition typo

This commit is contained in:
King Kévin 2022-09-26 18:00:08 +02:00
parent 53c9af3ea7
commit a5d5844237
1 changed files with 2 additions and 2 deletions

View File

@ -1895,7 +1895,7 @@ typedef union {
uint8_t OC1PE:1; /*!< bit 3: Output compare 1 preload enable */
uint8_t OC1M:3; /*!< bit 4..6: Output compare 1 mode */
uint8_t OC1CE:1; /*!< bit 7: Output compare 1 clear enable */
} outpur_fields; /*!< structure used for bit access */
} output_fields; /*!< structure used for bit access */
struct {
uint8_t CC1S:2; /*!< bit 0..1: Capture/compare 1 selection */
uint8_t IC1PSC:2; /*!< bit 2..3: Input capture 1 prescaler */
@ -1910,7 +1910,7 @@ typedef union {
uint8_t :1; /*!< bit 2: Reserved */
uint8_t OC1PE:1; /*!< bit 3: Output compare 1 preload enable */
uint8_t OC1M:3; /*!< bit 4..6: Output compare 1 mode */
} outpur_fields; /*!< structure used for bit access */
} output_fields; /*!< structure used for bit access */
struct {
uint8_t CC1S:2; /*!< bit 0..1: Capture/compare 1 selection */
uint8_t IC1PSC:2; /*!< bit 2..3: Input capture 1 prescaler */