Loading...
Searching...
No Matches
cc26xx_cc13xx_power.h File Reference

CC26xx/CC13xx Power management. More...

Detailed Description

CC26xx/CC13xx Power management.

Author
Jean Pierre Dudey jeand.nosp@m.udey.nosp@m.@hotm.nosp@m.ail..nosp@m.com

Definition in file cc26xx_cc13xx_power.h.

#include <cc26xx_cc13xx.h>
#include <stdbool.h>
#include "periph/uart.h"
+ Include dependency graph for cc26xx_cc13xx_power.h:

Go to the source code of this file.

enum  power_domain_t {
  POWER_DOMAIN_PERIPHERALS , POWER_DOMAIN_SERIAL , POWER_DOMAIN_RFC , POWER_DOMAIN_CPU ,
  POWER_DOMAIN_VIMS
}
 Power domains. More...
 
bool power_is_domain_enabled (const power_domain_t domain)
 Is power domain enabled?
 
void power_enable_domain (const power_domain_t domain)
 Enable the specified power domain.
 
void power_clock_enable_gpio (void)
 Enable GPIO clock.
 
void power_clock_enable_gpt (uint32_t tim)
 Enable General Purpose Timer clock.
 
void power_clock_enable_i2c (void)
 Enable I2C clock.
 
void power_clock_enable_uart (uart_t uart)
 Enable UART clocks.
 
void power_clock_disable_uart (uart_t uart)
 Disable UART clocks.
 

Enumeration Type Documentation

◆ power_domain_t

Power domains.

Enumerator
POWER_DOMAIN_PERIPHERALS 

Peripherals domain.

POWER_DOMAIN_SERIAL 

Serial domain.

POWER_DOMAIN_RFC 

RF Core domain.

POWER_DOMAIN_CPU 

CPU domain.

POWER_DOMAIN_VIMS 

VIMS domain.

Definition at line 34 of file cc26xx_cc13xx_power.h.

Function Documentation

◆ power_clock_disable_uart()

void power_clock_disable_uart ( uart_t  uart)

Disable UART clocks.

Parameters
[in]uartThe UART number

◆ power_clock_enable_gpt()

void power_clock_enable_gpt ( uint32_t  tim)

Enable General Purpose Timer clock.

Parameters
[in]timThe timer to enable

◆ power_clock_enable_uart()

void power_clock_enable_uart ( uart_t  uart)

Enable UART clocks.

Parameters
[in]uartThe UART number

◆ power_enable_domain()

void power_enable_domain ( const power_domain_t  domain)

Enable the specified power domain.

Parameters
[in]domainThe domain.

◆ power_is_domain_enabled()

bool power_is_domain_enabled ( const power_domain_t  domain)

Is power domain enabled?

Parameters
[in]domainThe domain.
Returns
true Is enabled.
false Is not enabled.