stm8: fix timer definition typo
This commit is contained in:
parent
34b10750af
commit
6c21bca064
4
stm8s.h
4
stm8s.h
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user