Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cc1200.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC1200_H_
8
#define ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC1200_H_
9
10
#include <
zephyr/device.h
>
11
12
/* RF settings
13
*
14
* First 42 entries are for the 42 first registers from
15
* address 0x04 to 0x2D included.
16
* Next, the last 58 entries are for the 58 registers from
17
* extended address 0x00 to 0x39 included
18
*
19
* If CONFIG_IEEE802154_CC1200_RF_PRESET is not used, one will need
20
* to provide 'cc1200_rf_settings' with proper settings. These can
21
* be generated through TI's SmartRF application.
22
*
23
*/
24
struct
cc1200_rf_registers_set
{
25
uint32_t
chan_center_freq0
;
26
/* to fit in uint16_t, spacing is a multiple of 100 Hz,
27
* 12.5KHz for instance will be 125.
28
*/
29
uint16_t
channel_spacing
;
30
uint8_t
registers
[100];
31
};
32
33
#ifndef CONFIG_IEEE802154_CC1200_RF_PRESET
34
extern
const
struct
cc1200_rf_registers_set
cc1200_rf_settings
;
35
#endif
36
37
#endif
/* ZEPHYR_INCLUDE_DRIVERS_IEEE802154_CC1200_H_ */
cc1200_rf_settings
const struct cc1200_rf_registers_set cc1200_rf_settings
device.h
uint32_t
__UINT32_TYPE__ uint32_t
Definition
stdint.h:90
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
uint16_t
__UINT16_TYPE__ uint16_t
Definition
stdint.h:89
cc1200_rf_registers_set
Definition
cc1200.h:24
cc1200_rf_registers_set::channel_spacing
uint16_t channel_spacing
Definition
cc1200.h:29
cc1200_rf_registers_set::registers
uint8_t registers[100]
Definition
cc1200.h:30
cc1200_rf_registers_set::chan_center_freq0
uint32_t chan_center_freq0
Definition
cc1200.h:25
zephyr
drivers
ieee802154
cc1200.h
Generated on Mon Nov 18 2024 06:02:27 for Zephyr API Documentation by
1.12.0