cc26xx_cc13xx_power.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2020 Locha Inc
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
18 #include <cc26xx_cc13xx.h>
19 #include <stdbool.h>
20 
21 #include "periph/uart.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
30 typedef enum {
37 
47 
54 
59 
65 void power_clock_enable_gpt(uint32_t tim);
66 
71 
78 
85 
86 #ifdef __cplusplus
87 } /* end extern "C" */
88 #endif
89 
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.