nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
uicr.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _UICR_H_
8#define _UICR_H_
9
10#include <stdint.h>
11
12// TODO: Discuss better alternative for UICR storage. This memory range is not documented
13#define UICR_APP_BASE_ADDR (NRF_UICR_S_BASE + 0xF0)
14
18uint8_t uicr_channel_get(void);
19
29int uicr_channel_set(uint8_t channel);
30
34uint64_t uicr_snr_get(void);
35
36#endif /* _UICR_H_ */
int uicr_channel_set(uint8_t channel)
Write raw channel value to UICR.
uint64_t uicr_snr_get(void)
Get Segger serial number value from UICR.
uint8_t uicr_channel_get(void)
Get raw channel value from UICR.