stack区域用于子程序返回地址,也用于存储自动数据。
The stack region is used for subroutine return addresses, as well as to store automatic data.
pthread_create()子程序使用线程参数返回新的线程ID。
The pthread_create() subroutine returns the new thread ID using a thread argument.
这个子程序将打开一个文件,从中读取当前的加速器数据,然后关闭文件,并返回不包含 “,(逗号)”字符的数据。
This subroutine simply opens the file, reads the current accelerometer data, closes the file, and returns the data without the , (comma) characters.
中断服务子程序内容:灯全部熄灭,2秒钟后发光二极管全部点亮,再过1秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
中断服务子程序内容:灯全部熄灭,2秒钟后发光二极管全部点亮,再过1秒钟后中断返回。
The contents of the interrupt service routine: all the lights off, 2 seconds later all the light-emitting diode, another 1 second to return after the break.
应用推荐