Warning: Undefined array key "rss_show_deleted" in /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 54
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 33 wi12.unix7.org - mcu
https://w12.unix7.org/
Wed, 05 Aug 2026 03:48:34 +0000FeedCreator 1.8https://w12.unix7.org/_media/wiki/dokuwiki.svgwi12.unix7.org
https://w12.unix7.org/
My style for code writing
https://w12.unix7.org/mcu/code-style
c embed
My style for code writing
Code must be, if it possible for the time/cost
* understandable
* stable
* visual
* verifiable
* reusable
* compact
* object-oriented
* system
* thought out
----------
[<>]anonymous@undisclosed.example.com (Anonymous)Sat, 27 Nov 2021 13:26:11 +0000MCU & Co datasheets
https://w12.unix7.org/mcu/datascheets
c embed
MCU & Co datasheets
Baseboard
STM32
* STM32F103RBT6, STM32F103RCT6, STM32F407VET6
* [Datasheet]
* stm32f100rb on ST.com
* Standard Peripheral Libraries
* STM32 Mainstream MCUs
Reference manual
* [F1 Reference manual]
* [F4 Reference manual]
Errata
* [STM32F10xx8 STM32F10xxB Errata sheet]
* [STM32F10xxC/D/E Errata sheet]
AVR
* ATmega328/P [ Datasheet]
Edge devices
* TTP229 Keyboard MCU [Datasheet]
* RTC DS3231 [Datasheet]
* EEPROM ATC24C3…anonymous@undisclosed.example.com (Anonymous)Sat, 27 Nov 2021 13:26:11 +0000FreeRTOS fault sample
https://w12.unix7.org/mcu/fault-sample
c embed
FreeRTOS fault sample
For example.
Cause
The Fault called by USART3 interrupt while FreeRTOS scheduler is running.
void usart3_isr(void) {
uint8_t c = 0;
BaseType_t xHigherPriorityTaskWoken;
xHigherPriorityTaskWoken = pdTRUE;
if (usart_rx_int_is_enable(USART3) && usart_recv_is_ready(USART3)) {
c = usart_recv_blocking(USART3);
xQueueSendFromISR(usart3_q, &c, &xHigherPriorityTaskWoken);
}
portEND_SWITCHING_ISR(xHigherPriorityTaskWoken);
}anonymous@undisclosed.example.com (Anonymous)Sat, 27 Nov 2021 13:26:11 +0000MCU Learning map
https://w12.unix7.org/mcu/learning-map
c embed
MCU Learning map
I wrote it for my son.
* Hardware map
* Debug and tracing methods, tools and protocols (gdb, openocd, SWD/JTAG)
* Internal INT
* UART
* TIM
* basic with INT, PWD, captute
* newlib minimal syscall
* UART
* USART with IRQ, USART with DMAanonymous@undisclosed.example.com (Anonymous)Sat, 27 Nov 2021 13:26:11 +0000Microcontroller
https://w12.unix7.org/mcu/start
c embed
Microcontroller
* MCU & Co datasheets
* FreeRTOS fault sample
* MCU Learning map
Sample
* FreeRTOS STM32-F407 OpenCM3
* STM32 F103 ADC, injected and regular
* STM32 I2C bus code
----------
[<>]anonymous@undisclosed.example.com (Anonymous)Sat, 27 Nov 2021 13:26:11 +0000