for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI5, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(2,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI5, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(8,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI6, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(1,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI6, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(19,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI1, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(2,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI1, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(8,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI5, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(1,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI5, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(19,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI8, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(2,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI8, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(8,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI1, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(1,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI1, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(19,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI6, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(2,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI6, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(8,BSP_DELAY_UNITS_MILLISECONDS);
}
for ( v = 60; v > 40 ; v-- )
{
R_IOPORT_PinWrite (&g_ioport_ctrl, AI8, BSP_IO_LEVEL_HIGH);
R_BSP_SoftwareDelay(1,BSP_DELAY_UNITS_MILLISECONDS);
R_IOPORT_PinWrite (&g_ioport_ctrl, AI8, BSP_IO_LEVEL_LOW);
R_BSP_SoftwareDelay(19,BSP_DELAY_UNITS_MILLISECONDS);
} 复制代码