Code: Select all
out buffered port:32 DataBits = XS1_PORT_32A;
Code: Select all
partout(DataBits, 8, p1_data);
Unhandled exception: ILLEGAL_RESOURCE, data: 0x00200000
Here what is wrong with my code?XC Programming manual says:
The number of bits must be less than the transfer width of the port, greater than zero and a multiple of the port width,otherwise an exception is raised.