| 전자부품 데이터시트 검색엔진 |
|
AN4228 데이터시트(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4228 데이터시트(HTML) 21 Page - STMicroelectronics |
|
21 / 90 page ![]() DocID024110 Rev 5 21/90 AN4228 Peripheral migration 89 3.4.2 Peripheral access configuration Since the address mapping of some peripherals has been changed in STM32F3 series versus STM32F1 series, you need to use different registers to [enable/disable] or [enter/exit] the peripheral [clock] or [from reset mode]. To configure the access to a given peripheral, you have first to know to which bus this peripheral is connected; refer to Table 8 then, depending on the action needed, program the right register as described in Table 11 above. For example, if USART1 is connected to the APB2 bus, to enable the USART1 clock you have to configure APB2ENR register as follows: RCC->APB2ENR |= RCC_APB2ENR_USART1EN; Table 11. RCC registers used for peripheral access configuration Bus Register Comments AHB RCC_AHBRSTR Used to [enter/exit] the AHB peripheral from reset RCC_AHBENR Used to [enable/disable] the AHB peripheral clock APB1 RCC_APB1RSTR Used to [enter/exit] the APB1 peripheral from reset RCC_APB1ENR Used to [enable/disable] the APB1 peripheral clock APB2 RCC_APB2RSTR Used to [enter/exit] the APB2 peripheral from reset RCC_APB2ENR Used to [enable/disable] the APB2 peripheral clock |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |