ccNOos
v0.0.0
Build Portable Microcontroller Applications!
|
IMS: ccNOos, Declarations for straight C and C++ More...
#include "version_config.h"
Go to the source code of this file.
Data Structures | |
union | devicebufferunion |
char/byte ambiguous container for io data More... | |
struct | devicedatastruct |
the common data struct of io devices More... | |
struct | SPIDeviceStruct |
struct | SerialDeviceStruct |
struct | ioDeviceStruct |
Enumerations | |
enum | devicestateenum { devstate_init = 0, devstate_opening = 1, devstate_open = 2, devstate_reading = 3, devstate_readdone = 4, devstate_writing = 5, devstate_writedone = 6 } |
Generic IO Device. More... | |
enum | SPITypes { SPIType_one, SPIType_two, SPIType_three, SPIType_four } |
SPI IO Device. More... | |
enum | portStopBitsEnum { stop_none = 0, stop_one = 1, stop_two = 2, stop_onepointfive = 3 } |
Serial UART IO Device. More... | |
enum | portParityEnum { parity_none = 0, parity_even = 1, parity_odd = 2, parity_mark = 3, parity_space = 4 } |
enum | portHandshakeEnum { handshake_none = 0, handshake_requesttosend = 1, handshake_requesttosendxonxoff = 2, handshake_xonxoff = 3 } |
Functions | |
struct devicedatastruct | createDeviceStruct () |
IMS: ccNOos, Declarations for straight C and C++
Copyright 2021 InMechaSol, Inc
Licensed under the Apache License, Version 2.0(the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Notes: (.c includes .h) - for straight C or (.cpp includes .c which includes .h) - for C++ wrapped straight C Always compiled to a single compilation unit, either C or CPP, not both
Definition in file io_device.h.
enum devicestateenum |
Generic IO Device.
enumerates states of the io device
Enumerator | |
---|---|
devstate_init | |
devstate_opening | |
devstate_open | |
devstate_reading | |
devstate_readdone | |
devstate_writing | |
devstate_writedone |
Definition at line 40 of file io_device.h.
enum portHandshakeEnum |
Enumerator | |
---|---|
handshake_none | |
handshake_requesttosend | |
handshake_requesttosendxonxoff | |
handshake_xonxoff |
Definition at line 107 of file io_device.h.
enum portParityEnum |
Enumerator | |
---|---|
parity_none | |
parity_even | |
parity_odd | |
parity_mark | |
parity_space |
Definition at line 99 of file io_device.h.
enum portStopBitsEnum |
Serial UART IO Device.
Enumerator | |
---|---|
stop_none | |
stop_one | |
stop_two | |
stop_onepointfive |
Definition at line 92 of file io_device.h.
enum SPITypes |
SPI IO Device.
Enumerator | |
---|---|
SPIType_one | |
SPIType_two | |
SPIType_three | |
SPIType_four |
Definition at line 74 of file io_device.h.
struct devicedatastruct createDeviceStruct | ( | ) |
Definition at line 1 of file io_device.c.