Posted by GA on 2/1/2003, 5:54 pm, in reply to "Regarding Chip Select" CS pins are only CS pins in expanded mode when the relevant bit is set to '1' in the port 8 data direction register (DDR). By default these bits are '0' making the pins operate as general input pins. Remember that the DDRs are write-only registers and so should not be read. This means that BSET and BCLR etc instructions cannot be used to set and clear individual bits. Use a shadow variable for bit wise modification of these registers. GA.
194.131.190.3
Hi,
Message Thread:
![]()
« Back to thread