Commit 7ad8c82b authored by 时昊's avatar 时昊

🌈 style:增加注释

parents bc27ab95 e14367a8
......@@ -320,7 +320,7 @@ void bsp_IIC_NACK( void )
bsp_IIC_nop();
bsp_IIC_SCL_out( 0 );
//sda = 1?
bsp_IIC_nop();
}
......@@ -338,14 +338,14 @@ uint8_t bsp_IIC_WaitAck( void )
bsp_IIC_SDA_inConfig();
bsp_IIC_SCL_out( 1 );
bsp_IIC_SCL_out( 1 );//高电平获取
while ( ( ack ) && ( --i != 0 ) )
{
ack = bsp_IIC_SDA_getVal();
}
bsp_IIC_SCL_out( 0 );
bsp_IIC_SCL_out( 0 );//从机可发送数据
if ( IIC_addr == 0x38 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment