Menu Toggle
v2.3.1 (RP2350)
Toggle main menu visibility
Loading...
Searching...
No Matches
cyw43_country.h
Go to the documentation of this file.
1
/*
2
* This file is part of the cyw43-driver
3
*
4
* Copyright (C) 2019-2022 George Robotics Pty Ltd
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions are met:
8
*
9
* 1. Redistributions of source code must retain the above copyright notice,
10
* this list of conditions and the following disclaimer.
11
* 2. Redistributions in binary form must reproduce the above copyright notice,
12
* this list of conditions and the following disclaimer in the documentation
13
* and/or other materials provided with the distribution.
14
* 3. Any redistribution, use, or modification in source or binary form is done
15
* solely for personal benefit and not for any commercial purpose or for
16
* monetary gain.
17
*
18
* THIS SOFTWARE IS PROVIDED BY THE LICENSOR AND COPYRIGHT OWNER "AS IS" AND ANY
19
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
* DISCLAIMED. IN NO EVENT SHALL THE LICENSOR OR COPYRIGHT OWNER BE LIABLE FOR
22
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
*
29
* This software is also available for use with certain devices under different
30
* terms, as set out in the top level LICENSE file. For commercial licensing
31
* options please email contact@georgerobotics.com.au.
32
*/
33
34
#ifndef CYW43_INCLUDED_CYW43_COUNTRY_H
35
#define CYW43_INCLUDED_CYW43_COUNTRY_H
36
40
45
49
#define CYW43_COUNTRY(A, B, REV) ((unsigned char)(A) | ((unsigned char)(B) << 8) | ((REV) << 16))
50
51
57
58
// Worldwide Locale (passive Ch12-14)
59
#define CYW43_COUNTRY_WORLDWIDE CYW43_COUNTRY('X', 'X', 0)
60
61
#define CYW43_COUNTRY_AUSTRALIA CYW43_COUNTRY('A', 'U', 0)
62
#define CYW43_COUNTRY_AUSTRIA CYW43_COUNTRY('A', 'T', 0)
63
#define CYW43_COUNTRY_BELGIUM CYW43_COUNTRY('B', 'E', 0)
64
#define CYW43_COUNTRY_BRAZIL CYW43_COUNTRY('B', 'R', 0)
65
#define CYW43_COUNTRY_CANADA CYW43_COUNTRY('C', 'A', 0)
66
#define CYW43_COUNTRY_CHILE CYW43_COUNTRY('C', 'L', 0)
67
#define CYW43_COUNTRY_CHINA CYW43_COUNTRY('C', 'N', 0)
68
#define CYW43_COUNTRY_COLOMBIA CYW43_COUNTRY('C', 'O', 0)
69
#define CYW43_COUNTRY_CZECH_REPUBLIC CYW43_COUNTRY('C', 'Z', 0)
70
#define CYW43_COUNTRY_DENMARK CYW43_COUNTRY('D', 'K', 0)
71
#define CYW43_COUNTRY_ESTONIA CYW43_COUNTRY('E', 'E', 0)
72
#define CYW43_COUNTRY_FINLAND CYW43_COUNTRY('F', 'I', 0)
73
#define CYW43_COUNTRY_FRANCE CYW43_COUNTRY('F', 'R', 0)
74
#define CYW43_COUNTRY_GERMANY CYW43_COUNTRY('D', 'E', 0)
75
#define CYW43_COUNTRY_GREECE CYW43_COUNTRY('G', 'R', 0)
76
#define CYW43_COUNTRY_HONG_KONG CYW43_COUNTRY('H', 'K', 0)
77
#define CYW43_COUNTRY_HUNGARY CYW43_COUNTRY('H', 'U', 0)
78
#define CYW43_COUNTRY_ICELAND CYW43_COUNTRY('I', 'S', 0)
79
#define CYW43_COUNTRY_INDIA CYW43_COUNTRY('I', 'N', 0)
80
#define CYW43_COUNTRY_ISRAEL CYW43_COUNTRY('I', 'L', 0)
81
#define CYW43_COUNTRY_ITALY CYW43_COUNTRY('I', 'T', 0)
82
#define CYW43_COUNTRY_JAPAN CYW43_COUNTRY('J', 'P', 0)
83
#define CYW43_COUNTRY_KENYA CYW43_COUNTRY('K', 'E', 0)
84
#define CYW43_COUNTRY_LATVIA CYW43_COUNTRY('L', 'V', 0)
85
#define CYW43_COUNTRY_LIECHTENSTEIN CYW43_COUNTRY('L', 'I', 0)
86
#define CYW43_COUNTRY_LITHUANIA CYW43_COUNTRY('L', 'T', 0)
87
#define CYW43_COUNTRY_LUXEMBOURG CYW43_COUNTRY('L', 'U', 0)
88
#define CYW43_COUNTRY_MALAYSIA CYW43_COUNTRY('M', 'Y', 0)
89
#define CYW43_COUNTRY_MALTA CYW43_COUNTRY('M', 'T', 0)
90
#define CYW43_COUNTRY_MEXICO CYW43_COUNTRY('M', 'X', 0)
91
#define CYW43_COUNTRY_NETHERLANDS CYW43_COUNTRY('N', 'L', 0)
92
#define CYW43_COUNTRY_NEW_ZEALAND CYW43_COUNTRY('N', 'Z', 0)
93
#define CYW43_COUNTRY_NIGERIA CYW43_COUNTRY('N', 'G', 0)
94
#define CYW43_COUNTRY_NORWAY CYW43_COUNTRY('N', 'O', 0)
95
#define CYW43_COUNTRY_PERU CYW43_COUNTRY('P', 'E', 0)
96
#define CYW43_COUNTRY_PHILIPPINES CYW43_COUNTRY('P', 'H', 0)
97
#define CYW43_COUNTRY_POLAND CYW43_COUNTRY('P', 'L', 0)
98
#define CYW43_COUNTRY_PORTUGAL CYW43_COUNTRY('P', 'T', 0)
99
#define CYW43_COUNTRY_SINGAPORE CYW43_COUNTRY('S', 'G', 0)
100
#define CYW43_COUNTRY_SLOVAKIA CYW43_COUNTRY('S', 'K', 0)
101
#define CYW43_COUNTRY_SLOVENIA CYW43_COUNTRY('S', 'I', 0)
102
#define CYW43_COUNTRY_SOUTH_AFRICA CYW43_COUNTRY('Z', 'A', 0)
103
#define CYW43_COUNTRY_SOUTH_KOREA CYW43_COUNTRY('K', 'R', 0)
104
#define CYW43_COUNTRY_SPAIN CYW43_COUNTRY('E', 'S', 0)
105
#define CYW43_COUNTRY_SWEDEN CYW43_COUNTRY('S', 'E', 0)
106
#define CYW43_COUNTRY_SWITZERLAND CYW43_COUNTRY('C', 'H', 0)
107
#define CYW43_COUNTRY_TAIWAN CYW43_COUNTRY('T', 'W', 0)
108
#define CYW43_COUNTRY_THAILAND CYW43_COUNTRY('T', 'H', 0)
109
#define CYW43_COUNTRY_TURKEY CYW43_COUNTRY('T', 'R', 0)
110
#define CYW43_COUNTRY_UK CYW43_COUNTRY('G', 'B', 0)
111
#define CYW43_COUNTRY_USA CYW43_COUNTRY('U', 'S', 0)
112
114
116
117
#endif