Thursday, March 15, 2018

「一天一字系列」Wort der Woche:不倒翁的精神

不倒翁的精神

不倒翁的德文很可愛: Stehaufmännchen 照字面翻譯就是“直立的小人”啦

我們可以聽一下Deutschwelle 的解釋:
Die herausstechende Eigenschaft eines Stehaufmännchens ist, dass er sich nicht unterkriegen lässt. Das Stehaufmännchen handelt dann nach dem Spruch: "hinfallen, aufstehen, Krone richten, weitergehen".

至於不倒翁的特性,德文當然也有跟中文類似的說法,就是ein Stehaufmännchen zu sein囉!
Ex: Er ist ein richtiges Stehaufmännchen.

Tuesday, March 6, 2018

TI TIVA TM4C123g learning notes (1)- Exception Model & Interrupts

這兩天為了實作Interrupt,學了一點有關Arm Cortex M4 的Exception實作方法,趕緊來做個筆記!都是從datasheet 第一手資料學習整理得的重點。其中有些圖表有版權問題,我就不貼了~(其實因為還要上傳圖片好麻煩啊~~~)


Exception Model:
Interrupts: asynchronous events triggered by external events(e.g. serial ports, GPIOs, etc.) => So the processor will complete the instruction it’s doing first, then serve the asynchronous interrupt (If the interrupt is a Reset then this is not the case). There are 78 different interrupts.
Exceptions: Interrupts are a subset of Exceptions.


  1. Exception Handling:  ARM Cortex-M4F uses NVIC(Nested Vectored Interrupt Controller), which also supports tail-chaining of interrupts.