doc/display/e-Paper-master/RaspberryPi_JetsonNano/c/lib/e-Paper/EPD_4in37b.c
static void EPD_4IN37B_SetWindows(UWORD Xstart, UWORD Ystart, UWORD Xend, UWORD Yend)
{
    EPD_4IN37B_SendCommand(0x90); 
    EPD_4IN37B_SendData(Xstart & 0xf8);
    EPD_4IN37B_SendData(Xend | 0x07);
    EPD_4IN37B_SendData((Ystart >> 8) & 0x01);
    EPD_4IN37B_SendData(Ystart & 0xFF);
    EPD_4IN37B_SendData((Yend >> 8) & 0x01);
    EPD_4IN37B_SendData(Yend & 0xFF);
	EPD_4IN37B_SendData(0x01);
}
/******************************************************************************
function :	Setting the display window
parameter:
******************************************************************************/
function :      Setting the display window
parameter.
function : Setting the display window parameter .
static void EPD_4IN37B_SetWindows(UWORD Xstart, UWORD Ystart, UWORD Xend, UWORD Yend)
{
    EPD_4IN37B_SendCommand(0x90); 
    EPD_4IN37B_SendData(Xstart & 0xf8);
    EPD_4IN37B_SendData(Xend | 0x07);
    EPD_4IN37B_SendData((Ystart >> 8) & 0x01);
    EPD_4IN37B_SendData(Ystart & 0xFF);
    EPD_4IN37B_SendData((Yend >> 8) & 0x01);
    EPD_4IN37B_SendData(Yend & 0xFF);
	EPD_4IN37B_SendData(0x01);
}
static void EPD_4IN37B_SetWindows ( UWORD Xstart , UWORD Ystart , UWORD Xend , UWORD Yend ) { EPD_4IN37B_SendCommand ( 0x90 ) ; EPD_4IN37B_SendData ( Xstart & 0xf8 ) ; EPD_4IN37B_SendData ( Xend | 0x07 ) ; EPD_4IN37B_SendData ( ( Ystart >> 8 ) & 0x01 ) ; EPD_4IN37B_SendData ( Ystart & 0xFF ) ; EPD_4IN37B_SendData ( ( Yend >> 8 ) & 0x01 ) ; EPD_4IN37B_SendData ( Yend & 0xFF ) ; EPD_4IN37B_SendData ( 0x01 ) ; }
function :      Setting the display window
parameter:
function : Setting the display window parameter :