Zephyr Project API
3.2.0
A Scalable Open Source RTOS
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
uint16_t
channel_limit
;
27
/* to fit in uint16_t, spacing is a multiple of 100 Hz,
28
* 12.5KHz for instance will be 125.
29
*/
30
uint16_t
channel_spacing
;
31
uint8_t
registers
[100];
32
};
33
34
#ifndef CONFIG_IEEE802154_CC1200_RF_PRESET
35
extern
const
struct
cc1200_rf_registers_set
cc1200_rf_settings
;
36
#endif
37
38
#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:30
cc1200_rf_registers_set::channel_limit
uint16_t channel_limit
Definition:
cc1200.h:26
cc1200_rf_registers_set::registers
uint8_t registers[100]
Definition:
cc1200.h:31
cc1200_rf_registers_set::chan_center_freq0
uint32_t chan_center_freq0
Definition:
cc1200.h:25
include
zephyr
drivers
ieee802154
cc1200.h
Generated on Tue Feb 28 2023 15:43:18 for Zephyr Project API by
1.9.2