2019年1月28日

Using pointer to access array instead of index

摘要: see MSP430 coding example below. uint8_t parity = 0; uint8_t index = 0; //flag gMUXTask.responseData[index++] = MUX_DATA_BIT_LOW; //dirty gMUXTask.res 阅读全文

posted @ 2019-01-28 11:20 荷树栋 阅读(136) 评论(0) 推荐(0)

Abstract Data Types in C

摘要: Interface declares operations, not data structure Implementation is hidden from client (encapsulation) Use features of programming language to ensure 阅读全文

posted @ 2019-01-28 11:14 荷树栋 阅读(181) 评论(0) 推荐(0)

MSP430F2272 Flash

摘要: The collected information is listed below during flash of MSP430 development. MSP430F2272: 32KB + 256B Flash Memory, 1KB RAM The minimum VCC voltage d 阅读全文

posted @ 2019-01-28 10:58 荷树栋 阅读(272) 评论(0) 推荐(0)

Using gcc stack debug skill

摘要: The stack error is hard to debug, but we can debug it assisted by the tool provided by GCC. As we known, there are three options to debug the stack in 阅读全文

posted @ 2019-01-28 10:56 荷树栋 阅读(290) 评论(0) 推荐(0)

导航