• Port pins too slow
    Hi.. I have a problem with the xc167ci. Its I/O-Pins toggle too slowly. If I have e.g. pin 4^0 toggeling, it only works with 2,85 MHz instead of 40 MHz (system clock). I use the following sourcecode...
  • Simulation - Pins and Port
    Hello all, I'm using the simulator for years but now I have a serious problem even when I'm going back to the "Hello World!" example: For example Port 2 (P2) is configurated as input (DP2 = 0)....
  • C164CI: How to set CAN Pins to Port 8
    I am looking for a way to change the CAN-port-pins from port 4 to port 8 (because of the need of all adress-pins). The Infineon doc talks about register C1PCIR (3 IPC Bits). When I set these bits from...
  • passing a port/pin to a function
    hi, i have a question regarding passing a port/pin to a function. i have written a piece of code as below #define LED_PIN P1_0 // bit LED_PIN = P1_0 also does not work void blink(bit...
  • Port Pin toggle
    I wrote a code for to toggle the port that is given below #include<reg51.h> sbit CLOCK = P0^2; void main() { while(1) { CLOCK = CLOCK^1; } } its not toggling in the IDE please...