Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds the BTN0 wakeup source for SiWx917 #233

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@

sl_status_t sl_si91x_power_manager_wakeup_init(void)
{
sl_status_t status=SL_STATUS_OK;
sl_status_t status = SL_STATUS_OK;

status = sli_si91x_power_manager_gpio_init();
if (status != SL_STATUS_OK) {
return status;
}
mkardous-silabs marked this conversation as resolved.
Show resolved Hide resolved

return status;
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/***************************************************************************//**
/***************************************************************************/ /**
* @file sl_si91x_power_manager_wakeup_handler.h.jinja
* @brief Power Manager Service Wakeup Handler APIs
*******************************************************************************
Expand Down Expand Up @@ -32,13 +32,12 @@

#include "sl_status.h"


#include "sl_si91x_driver_gpio.h"

#include "sl_si91x_power_manager_wakeup_source_config.h"


sl_status_t sl_si91x_power_manager_wakeup_init(void);


sl_status_t sli_si91x_power_manager_gpio_init(void);

mkardous-silabs marked this conversation as resolved.
Show resolved Hide resolved
#endif // SL_SI91X_POWER_MANAGER_WAKEUP_HANDLER_H
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extern "C" {
// </e>

// <e>GPIO Wakeup
#define SL_ENABLE_GPIO_WAKEUP_SOURCE 0
#define SL_ENABLE_GPIO_WAKEUP_SOURCE 1

// <q ENABLE_NPSS_GPIO_0> Enable NPSS GPIO 0
// <i> Default: 0
Expand All @@ -71,7 +71,7 @@ extern "C" {

// <q ENABLE_NPSS_GPIO_2> Enable NPSS GPIO 2
// <i> Default: 0
#define ENABLE_NPSS_GPIO_2 0
#define ENABLE_NPSS_GPIO_2 1

// <q ENABLE_NPSS_GPIO_3> Enable NPSS GPIO 3
// <i> Default: 0
Expand Down
Loading