Loading...
Searching...
No Matches
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
19#ifndef CC26XX_CC13XX_POWER_H
20#define CC26XX_CC13XX_POWER_H
21
22#include <cc26xx_cc13xx.h>
23#include <stdbool.h>
24
25#include "periph/uart.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
41
51
58
63
69void power_clock_enable_gpt(uint32_t tim);
70
75
82
89
90#ifdef __cplusplus
91} /* end extern "C" */
92#endif
93
94#endif /* CC26XX_CC13XX_POWER_H */
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.
Low-level UART peripheral driver interface definition.
uint_fast8_t uart_t
Define default UART type identifier.
Definition uart.h:85