This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
resources:tools-software:uc-drivers:max5380 [14 Apr 2023 05:32] Jose Ramon San Buenaventura |
resources:tools-software:uc-drivers:max5380 [14 Apr 2023 05:43] Jose Ramon San Buenaventura |
||
---|---|---|---|
Line 89: | Line 89: | ||
Make sure that **max538x_init** returns 0. This indicates a successful driver initialization. | Make sure that **max538x_init** returns 0. This indicates a successful driver initialization. | ||
- | In **max538x_init** is also where the device type can be selected on **active_device**. This will set the reference **voltage factor**, which is used for checking the valid limit for voltage setting, and the **slave address** of the chosen device. Refer to the driver header file for the valid device identifiers for **active_device**. | + | In **max538x_init** is also where the device type can be selected via the **active_device** property. This will set the reference **voltage factor**, which is used for checking the valid limit for voltage setting, and the **slave address** of the chosen device. Refer to the driver header file for the valid device identifiers for **active_device**. |
=== Set Voltage Configuration === | === Set Voltage Configuration === |