Dil ID: 8
Dil Adı: italy
Dil Kodu: it6tayfun Prodotti del Marchio Acrosser
Dünyanın En Büyük
Elektronik Bilgi Kütüphanesi



AES-HM76Z1FL User Manual
48
Acrosser Technology Co., Ltd.
6.2.2. GPIO
Table 2. GPIO Syntax Description
Syntax: get_gpi_status(int pin)
Description:
Get the status of GPIO input pins status.
Parameters:
This function takes an integral variable as the parameter.
The pin0 ~ 7 is pins.
Return Value:
1: HIGH
0: LOW
Syntax: get_gpo_status(int pin)
Description:
Get the status of GPIO output pins status.
Parameters:
This function takes an integral variable as the parameter.
The pin0 ~ 7 is pins.
Return Value:
1: HIGH
0: LOW
Syntax: set_gpo(int pin, int value)
Description:
Set the status of GPIO Output value.
Parameters:
Set value 0 is Low, 1 is High(Linux)
Return Value:
None
6.2.3. Watchdog
Table 3. Watchdog Syntax Description
Syntax: wdt_start(int value)
Description:
This function of the watchdog time to start counter.
Parameters:
The parameter ‘value’ is the value to set to watchdog timer
register. The range is 1 ~ 255.
Return Value:
None
Syntax: wdt_stop(Void)
Description:
Any time call this function will stop Watchdog Timer.
Parameters:
None
Return Value:
None