Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_GuideStone.h
Go to the documentation of this file.
1
/*
2
* Author: Crownstone Team
3
* Copyright: Crownstone (https://crownstone.rocks)
4
* Date: Jan 25, 2022
5
* License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed)
6
*/
7
8
#pragma once
9
10
#include <
cfg/cs_Boards.h
>
11
#include <
cfg/cs_DeviceTypes.h
>
12
16
void
asGuidestone
(
boards_config_t
* config) {
17
config->
pinRx
= 25;
18
config->
pinTx
= 26;
19
config->
deviceType
=
DEVICE_GUIDESTONE
;
20
config->
minTxPower
= -20;
21
config->
scanWindowUs
= config->
scanIntervalUs
;
22
}
cs_Boards.h
cs_DeviceTypes.h
DEVICE_GUIDESTONE
#define DEVICE_GUIDESTONE
Definition:
cs_DeviceTypes.h:25
asGuidestone
void asGuidestone(boards_config_t *config)
The Guidestone has pads for pin 9, 10, 25, 26, 27, SWDIO, SWDCLK, GND, VDD.
Definition:
cs_GuideStone.h:16
boards_config_t
Board configuration.
Definition:
cs_Boards.h:169
boards_config_t::minTxPower
int8_t minTxPower
The minimum radio transmission power to be used.
Definition:
cs_Boards.h:326
boards_config_t::scanIntervalUs
uint32_t scanIntervalUs
Scan interval in μs.
Definition:
cs_Boards.h:345
boards_config_t::scanWindowUs
uint32_t scanWindowUs
Scan window in μs.
Definition:
cs_Boards.h:353
boards_config_t::pinTx
uint8_t pinTx
GPIO pin to send UART.
Definition:
cs_Boards.h:216
boards_config_t::deviceType
uint8_t deviceType
Device type, e.g.
Definition:
cs_Boards.h:276
boards_config_t::pinRx
uint8_t pinRx
GPIO pin to receive UART.
Definition:
cs_Boards.h:213
source
include
boards
cs_GuideStone.h
Generated by
1.9.5