This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

what is "portbfff"

what does "portbff' mean?

I have a code below:

#define LCD_COM portbfff
#define LCD_DAT portbffe
typedef unsigned int Uint16;
ioport Uint16 LCD_COM;
ioport Uint16 LCD_DAT;

It made me confused about the portbfff. In the user manual,I just find we can use port10, and the '10' is in hex formart .So it means pin 16. And what about "portbfff" here, it must not be pin 49151.

Do I understand wrong ? Help some one help me .thanks a lot!

  • Hello,

    Your question is unrelated to tools so I would like to move it to the appropriate forum. But to do so, I would like to know what device you are using and where you got the code you are trying to use.

    Thanks

    ki

  • I use c5402. And the code is from the development board I bought. The code runs well on my board.

    But I want  to use the  TF screen on stm32. So it's important for me to understand the code in dsp.Then

    apply it to stm32.