I have tested the macros
#define HDLC_F_USEPORT E
#define HDLC_E_USEPORT C
but the port PE0/TCLKF still is not working as an input clock.
If we see the signal with oscilloscope, the clock is above 3.3V, however with PC4/TCLKE does not happen it is on 0V
Exactly ports configuration is as follow
// Parallel port C, D and E output type configuration (0-Driven high/low 1-Open drain)
// Parallel port C, D and E alternate options output pins configuration
// Parallel port C, D and E alternate options input pins configuration
// Parallel port C, D and E type configuration (0-I/O 1-Alternate function)
Later on we used
Is it not necessary to configure other registers?