Recent content by android5555

  1. A

    Why Are PIC Ports Configured as Inputs on Startup?

    I cannot find the answer anywhere. If I knew the second part of this question I would not have even posted it.
  2. A

    Why Are PIC Ports Configured as Inputs on Startup?

    [b]1. What is the default I/O configuration of all PIC ports at program computer system start-up? Why are microcontrollers designed with this standard default configuration? [b]3. I think all the ports are set to input to start with and then changed accordingly.
  3. A

    What does the following lines of C source code mean?

    I'm not sure if "BSRbits.3 = 1" is a valid C statement, but that is exactly what the question says. I think the "INTCONbitsTMR0IE = 1" statement means that the timer0 interrupt is enabled. From what i understand from "TRISB = 0x00" it should mean Port B is configured as outputs.
  4. A

    What does the following lines of C source code mean?

    [b]1. Explain what the CPU will do in terms of functuality and configuration when executing the C source code below: unsigned char value = 0x91 1) BSR = 5; 2) BSRbits.3 = 1; 3) INTCONbitsTMR0IE = 1; 4) INTCON2bitsTMR0IP = 1; 5) TRISB = 0x00; 6) PORTB = 0x00; Please can...
Back
Top