"Read Hass Pin state"

1. Several pins need to read the state of the core board Hass

  Himm configured by pin directly to the input mode, and then reads the state of the pin.

 

2. how to read

1. by writing to the drive, just like reading ordinary pin

 

 

3. Review himm source

Himm tool provides read and write source Hass SDK xxx / osdrv / tools / board_tools / reg-tools-1.0.0 / source / tools / lower.

 

 

 

 

Guess you like

Origin www.cnblogs.com/zhuangquan/p/12018842.html