Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Embeded-SCM Develop Other Embeded program

question2

  • Category : Other Embeded program
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :Dar***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
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
Packet file list
(Preview for download)
question2.c
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.