![]() |
HT32SX Monarch Scan
Monarch Scan application for HT32SX
|
: This file contains all the functions prototypes for the gpio
More...
Go to the source code of this file.
Functions | |
| void | MX_GPIO_Init (void) |
| void | S2LPShutdownInit (void) |
| Init shutdown pin on the uC and set it to 1 (Shutdown active). More... | |
| void | S2LPShutdownEnter (void) |
| Puts at logic 1 the SDN pin. More... | |
| void | S2LPShutdownExit (void) |
| Put at logic 0 the SDN pin. More... | |
| uint8_t | S2LPShutdownCheck (void) |
| check the logic (0 or 1) at the SDN pin. More... | |
| void | S2LPIRQInit (void) |
| Configures MCU GPIO and EXTI Line for GPIOs. More... | |
| void | S2LPIRQEnable (uint8_t state, uint8_t edge_direction) |
| Enables or disables the interrupt on GPIO . More... | |
| uint8_t | getLowPowerFlag (void) |
| Get low power flag to check the S2LP state. More... | |
| void | setS2lpIrqRaisedFlag (uint8_t s2lpIrqRaised) |
| Get low power flag to check the S2LP state. More... | |
| uint8_t | getS2lpIrqRaisedFlag (void) |
| Get S2LP IRQ raised flag. More... | |
: This file contains all the functions prototypes for the gpio
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
| uint8_t getLowPowerFlag | ( | void | ) |
Get low power flag to check the S2LP state.
| [in] | none | |
| [out] | none |
| low_power | 1 if it's low power, else 0 |
| uint8_t getS2lpIrqRaisedFlag | ( | void | ) |
Get S2LP IRQ raised flag.
| [in] | none | |
| [out] | none |
| s2lp_irq_raised | 1 if it's raised, else 0 |
| void MX_GPIO_Init | ( | void | ) |
Configure pins as Analog Input Output EVENT_OUT EXTI
| void S2LPIRQEnable | ( | uint8_t | state, |
| uint8_t | edge_direction | ||
| ) |
Enables or disables the interrupt on GPIO .
| state | Specifies the State. This parameter can be one of following parameters:
|
| edge_direction | Specifies the sensitive edge. This parameter can be one of following parameters:
|
| None. |
| void S2LPIRQInit | ( | void | ) |
Configures MCU GPIO and EXTI Line for GPIOs.
| None. |
| None. |
| uint8_t S2LPShutdownCheck | ( | void | ) |
check the logic (0 or 1) at the SDN pin.
| None. |
| FlagStatus. |
| void S2LPShutdownEnter | ( | void | ) |
Puts at logic 1 the SDN pin.
| None. |
| None. |
| void S2LPShutdownExit | ( | void | ) |
Put at logic 0 the SDN pin.
| None. |
| None. |
| void S2LPShutdownInit | ( | void | ) |
Init shutdown pin on the uC and set it to 1 (Shutdown active).
| None. |
| None. |
| void setS2lpIrqRaisedFlag | ( | uint8_t | s2lpIrqRaised | ) |
Get low power flag to check the S2LP state.
| [in] | s2lpIrqRaised | 1 if it's raised, else 0 |
| [out] | none |
| none |