px-fwlib 0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers generated with Doxygen 1.9.2
px_at45d_cfg_template.h
1#ifndef __PX_AT45D_CFG_H__
2#define __PX_AT45D_CFG_H__
3/* =============================================================================
4 ____ ___ ____ ___ _ _ ___ __ __ ___ __ __ TM
5 | _ \ |_ _| / ___| / _ \ | \ | | / _ \ | \/ | |_ _| \ \/ /
6 | |_) | | | | | | | | | | \| | | | | | | |\/| | | | \ /
7 | __/ | | | |___ | |_| | | |\ | | |_| | | | | | | | / \
8 |_| |___| \____| \___/ |_| \_| \___/ |_| |_| |___| /_/\_\
9
10 Copyright (c) 2014 Pieter Conradie <https://piconomix.com>
11
12 License: MIT
13 https://github.com/piconomix/px-fwlib/blob/master/LICENSE.md
14
15 Title: px_at45d_cfg.h : AT45D Peripheral Driver configuration
16 Author(s): Pieter Conradie
17 Creation Date: 2014-01-17
18
19============================================================================= */
20
21/**
22 * @addtogroup PX_AT45D
23 *
24 * @{
25 */
26
27/* _____STANDARD INCLUDES____________________________________________________ */
28
29/* _____PROJECT INCLUDES_____________________________________________________ */
30#include "px_defs.h"
31
32/* _____DEFINITIONS__________________________________________________________ */
33/// Specify device
34#define PX_AT45D_CFG_DEVICE PX_AT45DB041
35
36/**
37 * Select power of two page size.
38 *
39 * "Power of 2" binary page size Configuration Register is a user-programmable
40 * nonvolatile register that allows the page size of the main memory to be
41 * configured for binary page size or the DataFlash standard page size.
42 *
43 * See px_at45d_set_page_size_to_pwr_of_two().
44 */
45#define PX_AT45D_CFG_PWR_OF_TWO_PAGE_SIZE 0
46
47/// @}
48#endif