an old afLib which supports both SPI and UART

Committer:
Rhyme
Date:
Tue Mar 20 06:47:25 2018 +0000
Revision:
0:6f371c791202
SPI mode started working

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rhyme 0:6f371c791202 1 /**
Rhyme 0:6f371c791202 2 * Copyright 2016 Afero, Inc.
Rhyme 0:6f371c791202 3 *
Rhyme 0:6f371c791202 4 * Licensed under the Apache License, Version 2.0 (the "License");
Rhyme 0:6f371c791202 5 * you may not use this file except in compliance with the License.
Rhyme 0:6f371c791202 6 * You may obtain a copy of the License at
Rhyme 0:6f371c791202 7 *
Rhyme 0:6f371c791202 8 * http://www.apache.org/licenses/LICENSE-2.0
Rhyme 0:6f371c791202 9 *
Rhyme 0:6f371c791202 10 * Unless required by applicable law or agreed to in writing, software
Rhyme 0:6f371c791202 11 * distributed under the License is distributed on an "AS IS" BASIS,
Rhyme 0:6f371c791202 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Rhyme 0:6f371c791202 13 * See the License for the specific language governing permissions and
Rhyme 0:6f371c791202 14 * limitations under the License.
Rhyme 0:6f371c791202 15 */
Rhyme 0:6f371c791202 16
Rhyme 0:6f371c791202 17 #ifndef MODULE_STATES_H__
Rhyme 0:6f371c791202 18 #define MODULE_STATES_H__
Rhyme 0:6f371c791202 19
Rhyme 0:6f371c791202 20 typedef enum {
Rhyme 0:6f371c791202 21 MODULE_STATE_REBOOTED,
Rhyme 0:6f371c791202 22 MODULE_STATE_LINKED,
Rhyme 0:6f371c791202 23 MODULE_STATE_UPDATING,
Rhyme 0:6f371c791202 24 MODULE_STATE_UPDATE_READY
Rhyme 0:6f371c791202 25 } module_states_t;
Rhyme 0:6f371c791202 26
Rhyme 0:6f371c791202 27 #endif // MODULE_STATES_H__