@CHIP-RTOS C Library V2.00 - Hardware API
pfe_enable_pcs
Enable chip selects PCS[0..3]#, PCS[5..6]# void pfe_enable_pcs ( unsigned char pcs ); Parameters
pcs
- Chip select number:
0: Enable PCS0#, active when I/O address between 000h..0FFh
1: Enable PCS1#, active when I/O address between 100h..1FFh
2: Enable PCS2#, active when I/O address between 200h..2FFh
3: Enable PCS3#, active when I/O address between 300h..3FFh
4: N/A
5: Enable PCS5#, active when I/O address between 500h..5FFh
6: Enable PCS6#, active when I/O address between 600h..6FFh
Return Value
- -- none --.
Comments
- Used pins:
PCS[0..3]#, PCS[5..6]#
Excluded pins:
if PCS0#: ALE (multiplexed address / data bus)
if PCS1#: A0, PIO4, TMRIN0, SPI
if PCS2#: PIO6, INT2, INTA#, PWD, SPI, hw flow control serial port 1,
cascaded interrupt controller
if PCS3#: PIO5, INT4, SPI, hw flow control serial port 1
if PCS5#: A[1..2], PIO3, TMROUT1, TMRIN1
if PCS6#: A[1..2], PIO2
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|