To see what's going on in main() we can set a breakpoint at a particular line or on a function in the program code so gdb will interrupt execution when it is reached.
为了查看在 main() 中发生了什么情况,可以在程序代码中的某一特定行或函数中设置断点,这样 gdb 会在遇到断点时中断执行。
Register the sequence number, interrupt nature, and thread attributes to the main program.
向主程序注册序号、中断属性和线程属性。
Data between X9241 and SCM is transmitted with I2C Bus, and the software includes main program and interrupt subprogram.
X9241采用二线串行i2c总线与单片机传递数据。其软件由主程序、中断子程序组成。
应用推荐