cc26xx_cc13xx_power.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Locha Inc
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #pragma once
10 
21 #include <cc26xx_cc13xx.h>
22 #include <stdbool.h>
23 
24 #include "periph/uart.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 typedef enum {
40 
50 
57 
62 
68 void power_clock_enable_gpt(uint32_t tim);
69 
74 
81 
88 
89 #ifdef __cplusplus
90 } /* end extern "C" */
91 #endif
92 
CC26xx, CC13xx definitions.
void power_clock_enable_gpt(uint32_t tim)
Enable General Purpose Timer clock.
void power_clock_enable_i2c(void)
Enable I2C clock.
void power_enable_domain(const power_domain_t domain)
Enable the specified power domain.
void power_clock_disable_uart(uart_t uart)
Disable UART clocks.
bool power_is_domain_enabled(const power_domain_t domain)
Is power domain enabled?
void power_clock_enable_uart(uart_t uart)
Enable UART clocks.
void power_clock_enable_gpio(void)
Enable GPIO clock.
power_domain_t
Power domains.
@ POWER_DOMAIN_VIMS
VIMS domain.
@ POWER_DOMAIN_PERIPHERALS
Peripherals domain.
@ POWER_DOMAIN_SERIAL
Serial domain.
@ POWER_DOMAIN_RFC
RF Core domain.
@ POWER_DOMAIN_CPU
CPU domain.
uint_fast8_t uart_t
Define default UART type identifier.
Definition: uart.h:84
Low-level UART peripheral driver interface definition.