ログ

見る価値ありません

2019-10-01から1ヶ月間の記事一覧

Nucleo STM32F446REのUSARTのメモ

ピン PA2 - USART_TX PA3 - USART_RX GPIO Altanative function AF7 USART 0b0111 GPIOA_AFRL offset 0x20 GPIOA_AFRL [11:8] PA2 GPIOA_AFRL [15:12] PA3 GPIOA_AFRH offseet 0x24

armアセンブラ(thumb2)メモ

レジスタ thumb命令の大半はr0-r7にしかアクセスできない 名称 別名 用途 r0 - 引数1、返り値、破壊可能 r1 - 引数2、破壊可能 r2 - 引数3、破壊可能 r3 - 引数4、破壊可能 r4 - r5 - r6 - r7 - gccではfpとして利用(thumb命令時) r8 - r9 - プラットフォー…

STM32F446REの割り込みベクタのメモ

リファレンスマニュアル P.62 Once the boot pins are selected, the application software can modify the memory accessible in the code area (in this way the code can be executed through the ICode bus in place of the System bus). This modificat…

Common Lispでechoサーバ

環境 処理系 SBCL ライブラリ usocket コード (ql:quickload "usocket") (defun echo-server (port) (let* ((server-socket (usocket:socket-listen "localhost" port :reuseaddress t)) (stream (usocket:socket-stream (usocket:socket-accept server-sock…