| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 95 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 95 Page - STMicroelectronics |
|
95 / 229 page ![]() UM0097 Peripheral firmware overview 95/229 Table 43 describes the WDG structure fields. The WDG peripherals are declared in the same file: ... #define WDG_BASE (APB2_BASE + 0xE000) ... #ifndef DEBUG ... #ifdef _WDG #define WDG ((WDG_TypeDef *)WDG_BASE) #endif /*WDG*/ ... #else /* DEBUG */ ... #ifdef _WDG EXT WDG_TypeDef *WDG; #endif /*WDG*/ ... #endif When debug mode is used, WDG pointers are initialized in the file 71x_lib.c: #ifdef _WDG WDG = (WDG_TypeDef *)WDG_BASE; #endif In debug mode, _WDG must be defined, in the file 71x_conf.h, to access the peripheral registers as follows: #define _WDG Some RCCU functions are called, _RCCU must be defined, in 71x_conf.h file, to make the RCCU functions accessible: #define _RCCU Table 43. WDG structure fields Register Description CR Control register PR Prescaler register VR Pre-load Value register CNT Counter register SR Status Register MR Mask Register KR Key Register |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |