2 * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_TYPES_H
8#define _PICO_TYPES_H
9
10#ifndef __ASSEMBLER__
11
12#include "pico/assert.h"
13
14#include <stdint.h>
15#include <stdbool.h>
16#include <stddef.h>
17
18typedefunsignedint uint;
19
20// PICO_CONFIG: PICO_OPAQUE_ABSOLUTE_TIME_T, Enable opaque type for absolute_time_t to help catch inadvertent confusing uint64_t delays with absolute times, default=0, advanced=true, group=pico_base
89#define ABSOLUTE_TIME_INITIALIZED_VAR(name, value) name = value
90#else
91#define ABSOLUTE_TIME_INITIALIZED_VAR(name, value) name = {value}
92#endif
93
94// PICO_CONFIG: PICO_INCLUDE_RTC_DATETIME, Whether to include the datetime_t type used with the RP2040 RTC hardware, default=1 on RP2040, group=util_datetime