jit_singh_tara
Full Member level 6
- Joined
- Dec 22, 2006
- Messages
- 325
- Helped
- 9
- Reputation
- 18
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- Delhi , India
- Activity points
- 4,293
hi friends , please tell me wether the port pins of pic16f877a are memory mapped ,i want to use individual bits of port for defining a name to it and using it in main .dont want to use #define cs portc.f5 (in mikroc compiler) .
ned something like
init(&portc , 5) // defines portc pin5 as cs.
or
init(&portb , 3) // defines portb pin3 as cs.
using function. both port and pin of the port should be configurable.
ned something like
init(&portc , 5) // defines portc pin5 as cs.
or
init(&portb , 3) // defines portb pin3 as cs.
using function. both port and pin of the port should be configurable.