-
question2
Q1 Create a program that will initialise Port2 bits 0 - 7 to outputs. Then in an endless loop perform the sequence of bit manipulations shown below. Your program should use bit masking operations. Here is an outline of the program in pseudo-code and with the first two bit manipulations done for you.
//initialise port 2 for output
//set all outputs to 0
while(1)
{
FIO2PIN |= 0x04 // set bit 2 on (0x04 = 00000100)
FIO2PIN &= ~0x04 // set bit 2 off
//set port2 bit 1 on
//set port2 bit 1 off
//set port2 bit 4 on
//set port2 bit 6 and bit 7 on
//set port2 bit 4 off
//set port2 bit 6 and bit 7 off
- 2010-03-09 01:40:03下载
- 积分:1
-
dxflib-3.17-2.0-src
Qt上读取或者生成dxf文件的C++开源库。(This is a c++ lib for reading and writing dxf file on Qt.)
- 2017-08-16 09:14:41下载
- 积分:1
-
Hough
用Visual C++实现Hough变换(Using Visual C++ Achieve Hough Transform)
- 2007-12-10 15:02:21下载
- 积分:1
-
arm_tm
protocol implementation for viewing data
- 2015-01-16 03:44:53下载
- 积分:1
-
Rootkit端口隐藏技术
说明: ROOTKIT 利用hook技术可以隐藏指定的端口 需要以驱动加载的形式把hook加载进内核 这里利用了insdrv工具(The ROOTKIT uses hook technology to hide the specified port and needs to load the hook into the kernel in the form of driver loading using the insdrv tool)
- 2020-02-24 12:15:43下载
- 积分:1
-
Visual C#多线程下载网络文件实例
C# 下载文件,使用多线程下载,只是简单的多线程下载的示例,并不支持断点续传,这里重点是演示将多线程技术应用到网络下载程序中。在代码中定义了一个函数,方便程序调用,此函数可实现输入下载文件地址和下载后的存储地址,立即下载文件,很方便。
- 2022-01-25 16:16:53下载
- 积分:1
-
bit_bcd_convert
说明: 二进制码流(PCM)转BCD码流的matlab代码,给需要的朋友做个参考(Binary code streams (PCM) to BCD code flow matlab code, to be a reference to a friend in need)
- 2009-08-04 08:58:04下载
- 积分:1
-
Array-1-dimensi(prak-7)
program array 1 dimensi
- 2012-11-26 08:31:23下载
- 积分:1
-
PWM输出
使用STM32F103 32位芯片配置定时器以及控制定时器输出PWM波形(Using STM32F103 32 bit chip to configure timer and control the output PWM waveform of timer)
- 2020-06-23 16:00:01下载
- 积分:1
-
服务器
1)分页环境
Xshell标签可以脱离原来的窗口并重新创建一个新窗口或重新连接一个完全不同的窗口。另外,单个的窗口可以垂直或水平分割,从而使一个窗口显示多个终端会话。
2)动态端口转发
系统管理员经常必须使用多个远程主机,并沉闷的一遍又一遍的执行重复的任务。使用新的同步输入重定向特性,所输入的东西能够同时发送到多个所选择的终端。
3)自定义键映射
终端密钥和文件菜单可以被映射到用户偏爱的键位,你甚至可以映射一个用来启动应用程序或脚本的键。
4)用户定义按钮
通常,用户必须多次重复输入相同的字符串。而xshell只需要点击按钮就可以完成重复字符串命令的输入,快速命令能够节省很多时间。
5)VB脚本(XShell, free and safe download. XShell latest version: Free terminal emulator for personal and professional use. XShell is an Internet & Network)
- 2020-06-25 14:40:02下载
- 积分:1