cpu_nvm.h
1 /*
2  * Copyright (C) 2021 Gerson Fernando Budke <nandojve@gmail.com>
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 
9 #pragma once
10 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
40 #define nvm_get_production_signature_row_offset(regname) \
41  offsetof(NVM_PROD_SIGNATURES_t, regname)
42 
57 uint8_t nvm_read_production_signature_row(uint8_t address);
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
uint8_t nvm_read_production_signature_row(uint8_t address)
Read one byte from the production signature row.