Plataforma I2C

  
 /drivers/i2c/busses/i2c-s3c2410.c:static int s3c24xx_i2c_probe (struct platform_device * pdev) {struct s3c24xx_i2c * i2c; ..... strlcpy (i2c- > adap.name, " s3c2410-i2c ", tamaño de (i2c- > adap.name)); i2c- > adap.owner = THIS_MODULE; i2c- > adap.algo = &s3c24xx_i2c_algorithm; //adaptador 的 i2c_algorithm i2c- > adap.retries = 2; i2c- > adap.class = I2C_CLASS_HWMON
Copyright © Conocimiento de Windows All Rights Reserved