更新SBC的GPIO输出功能
This commit is contained in:
parent
6fea42e60f
commit
dc3b59bcd3
@ -36,7 +36,7 @@
|
||||
|
||||
#define CTRL_BUS_CTRL_3 (0x0) /*decimal 0*/
|
||||
|
||||
#define CTRL_GPIO_CTRL (0x4) /*decimal 4*/
|
||||
#define CTRL_GPIO_CTRL (0x7) /*decimal 7*/
|
||||
|
||||
#define CTRL_HW_CTRL_0 (0x40) /*decimal 64*/
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
#define CTRL_M_S_CTRL (0x13) /*decimal 19*/
|
||||
|
||||
#define CTRL_PWM_CTRL (0x0) /*decimal 0*/
|
||||
#define CTRL_PWM_CTRL (0xFF) /*decimal 255*/
|
||||
|
||||
#define CTRL_PWM_FREQ_CTRL (0x0) /*decimal 0*/
|
||||
|
||||
@ -96,6 +96,6 @@
|
||||
|
||||
#define MATH_EN_PN (0x1) /*decimal 1*/
|
||||
|
||||
#define MATH_PWM_DC (0.0)
|
||||
#define MATH_PWM_DC (100.0)
|
||||
|
||||
#endif /* SBC_TLE94X1_H */
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<icwpxml version="2.6.4">
|
||||
<checksum>9e8e9087eecb39921ec31dfccce96b2a2efec664bafe2827aea4ddb51cb86761</checksum>
|
||||
<checksum>a5a11f7f47a98f683d04841506cbeea360432664248d1d48a597afa2f6a461a4</checksum>
|
||||
<XmlFile>TLE94x1_Lib.xml</XmlFile>
|
||||
<XmlVersion>V0.0.6</XmlVersion>
|
||||
<ActiveElements>
|
||||
@ -24,11 +24,6 @@
|
||||
<value>0</value>
|
||||
<dispValue>0</dispValue>
|
||||
</ComboBox>
|
||||
<DoubleSpinBox>
|
||||
<define>MATH.PWM_DC</define>
|
||||
<value>0</value>
|
||||
<dispValue>0.0</dispValue>
|
||||
</DoubleSpinBox>
|
||||
<CheckBox>
|
||||
<define>CTRL.WK_CTRL_1[7]</define>
|
||||
<value>0</value>
|
||||
@ -79,11 +74,6 @@
|
||||
<value>0</value>
|
||||
<dispValue>0</dispValue>
|
||||
</CheckBox>
|
||||
<ButtonGroup>
|
||||
<define>CTRL.WD_CTRL[5]</define>
|
||||
<value>0</value>
|
||||
<dispValue>0</dispValue>
|
||||
</ButtonGroup>
|
||||
<CheckBox>
|
||||
<define>CTRL.HW_CTRL_0[2]</define>
|
||||
<value>0</value>
|
||||
@ -179,11 +169,6 @@
|
||||
<value>0x00000000</value>
|
||||
<dispValue>0</dispValue>
|
||||
</LineEdit>
|
||||
<ComboBox>
|
||||
<define>CTRL.GPIO_CTRL[2:0]</define>
|
||||
<value>4</value>
|
||||
<dispValue>4</dispValue>
|
||||
</ComboBox>
|
||||
<CheckBox>
|
||||
<define>CTRL.WK_CTRL_1[0]</define>
|
||||
<value>0</value>
|
||||
@ -229,5 +214,20 @@
|
||||
<value>3</value>
|
||||
<dispValue>3</dispValue>
|
||||
</ComboBox>
|
||||
<ComboBox>
|
||||
<define>CTRL.GPIO_CTRL[2:0]</define>
|
||||
<value>7</value>
|
||||
<dispValue>7</dispValue>
|
||||
</ComboBox>
|
||||
<DoubleSpinBox>
|
||||
<define>MATH.PWM_DC</define>
|
||||
<value>100</value>
|
||||
<dispValue>100.0</dispValue>
|
||||
</DoubleSpinBox>
|
||||
<ButtonGroup>
|
||||
<define>CTRL.WD_CTRL[5]</define>
|
||||
<value>0</value>
|
||||
<dispValue>0</dispValue>
|
||||
</ButtonGroup>
|
||||
</ActiveElements>
|
||||
</icwpxml>
|
Loading…
x
Reference in New Issue
Block a user