作者:
sss22213 (sss22213)
2016-08-31 02:06:27開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
AVR-GCC
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
AVR-Libc
問題(Question):
在閱讀FreeRTOS for AVR的程式碼中
看不懂38,39行pxCurrentTCB的用法,為何可以直接傳入C的指標,
還有pxCurrentTCB位移存資料的用法?
餵入的資料(Input):
預期的正確結果(Expected Output):
錯誤結果(Wrong Output):
程式碼(Code):(請善用置底文網頁, 記得排版)
http://pastebin.com/HtpxUuXL
extern volatile TCB_t * volatile pxCurrentTCB;
補充說明(Supplement):