| 전자부품 데이터시트 검색엔진 |
|
SW4STM32C 데이터시트(PDF) 60 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SW4STM32C 데이터시트(HTML) 60 Page - STMicroelectronics |
|
60 / 99 page ![]() Printf debugging AN4989 60/99 DocID030181 Rev 2 Figure 41. USART2 setting with STM32CubeMX Retargeting printf to UART depends on the toolchain. For IAR™ EWARM and Keil® MDK-ARM µVISION this is done by overriding the stdio fputc function #include "stdio.h" int fputc(int ch, FILE *f) { HAL_UART_Transmit(&UartHandle, (uint8_t *)&ch, 1, 0xFFFF); return ch; } For GCC based toolset like SW4STM32, two cases can be met. With syscall.c integrated to the project: #include "stdio.h" int __io_putchar(int ch) { |
|
링크 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 |