Lines Matching +full:- +full:1
1 /* microbit.c - BBC micro:bit specific hooks */
6 * SPDX-License-Identifier: Apache-2.0
27 #define SEQ_PAGE (NRF_FICR->CODEPAGESIZE * (NRF_FICR->CODESIZE - 1))
28 #define SEQ_MAX (NRF_FICR->CODEPAGESIZE * 8 * SEQ_PER_BIT)
115 duration += *str - '0'; in board_play_tune()
123 if (str[1] == '#') { in board_play_tune()
147 MB_IMAGE({ 1, 1, 1, 1, 1 }, in board_heartbeat()
148 { 1, 1, 1, 1, 1 }, in board_heartbeat()
149 { 1, 1, 1, 1, 1 }, in board_heartbeat()
150 { 1, 1, 1, 1, 1 }, in board_heartbeat()
151 { 1, 1, 1, 1, 1 }), in board_heartbeat()
152 MB_IMAGE({ 1, 1, 1, 1, 1 }, in board_heartbeat()
153 { 1, 1, 1, 1, 1 }, in board_heartbeat()
154 { 1, 1, 0, 1, 1 }, in board_heartbeat()
155 { 1, 1, 1, 1, 1 }, in board_heartbeat()
156 { 1, 1, 1, 1, 1 }), in board_heartbeat()
157 MB_IMAGE({ 1, 1, 1, 1, 1 }, in board_heartbeat()
158 { 1, 0, 0, 0, 1 }, in board_heartbeat()
159 { 1, 0, 0, 0, 1 }, in board_heartbeat()
160 { 1, 0, 0, 0, 1 }, in board_heartbeat()
161 { 1, 1, 1, 1, 1 }), in board_heartbeat()
162 MB_IMAGE({ 1, 1, 1, 1, 1 }, in board_heartbeat()
163 { 1, 0, 0, 0, 1 }, in board_heartbeat()
164 { 1, 0, 0, 0, 1 }, in board_heartbeat()
165 { 1, 0, 0, 0, 1 }, in board_heartbeat()
166 { 1, 1, 1, 1, 1 }), in board_heartbeat()
167 MB_IMAGE({ 1, 0, 1, 0, 1 }, in board_heartbeat()
169 { 1, 0, 0, 0, 1 }, in board_heartbeat()
171 { 1, 0, 1, 0, 1 }) in board_heartbeat()
179 &hops_img[hops - 1], 1); in board_heartbeat()
199 { 0, 0, 1, 0, 0 }, in board_attention()
203 { 0, 1, 1, 1, 0 }, in board_attention()
204 { 0, 1, 1, 1, 0 }, in board_attention()
205 { 0, 1, 1, 1, 0 }, in board_attention()
207 MB_IMAGE({ 1, 1, 1, 1, 1 }, in board_attention()
208 { 1, 1, 1, 1, 1 }, in board_attention()
209 { 1, 1, 0, 1, 1 }, in board_attention()
210 { 1, 1, 1, 1, 1 }, in board_attention()
211 { 1, 1, 1, 1, 1 }), in board_attention()
212 MB_IMAGE({ 1, 1, 1, 1, 1 }, in board_attention()
213 { 1, 0, 0, 0, 1 }, in board_attention()
214 { 1, 0, 0, 0, 1 }, in board_attention()
215 { 1, 0, 0, 0, 1 }, in board_attention()
216 { 1, 1, 1, 1, 1 }), in board_attention()
258 return -EINVAL; in configure_buttons()
274 return -ENODEV; in board_init()
277 *addr = NRF_UICR->CUSTOMER[0]; in board_init()