42 #include "armconfig.h" 51 extern void bzero(
void *s,
size_t n);
52 extern void *memmem(
const void *haystack,
size_t haystacklen,
const void *needle,
size_t needlelen);
112 #if defined ARMPORT_WITH_nSLEEP || defined ARMPORT_WITH_nBOOT || defined ARMPORT_WITH_nRESET || __DOXYGEN__ 119 #if defined ARMPORT_WITH_nSLEEP || __DOXYGEN__ 122 #if defined ARMPORT_WITH_nBOOT || __DOXYGEN__ 125 #if defined ARMPORT_WITH_nRESET || __DOXYGEN__ 147 armPortParity_t parity,
155 int armPortWrite(
void* port,
const void* buf,
size_t nbyte);
161 int armPortRead(
void* port,
void* buf,
size_t nbyte,
unsigned int timeout);
169 #if defined ARMPORT_WITH_nSLEEP || defined ARMPORT_WITH_nBOOT || defined ARMPORT_WITH_nRESET || __DOXYGEN__ armPortParity_t
Constant to define the parity type.
Definition: armport.h:91
1200 bps.
Definition: armport.h:66
nBOOT pin
Definition: armport.h:123
int armPortClose(void *port)
data of 8 bits.
Definition: armport.h:84
armPortPin_e
Constant to define the pins.
Definition: armport.h:117
int armPortRead(void *port, void *buf, size_t nbyte, unsigned int timeout)
int armPortConfig(void *port, armPortBaudrate_t baudrate, armPortDatabits_t databits, armPortParity_t parity, armPortStopbit_t stopbit)
38400 bps.
Definition: armport.h:71
9600 bps.
Definition: armport.h:69
2 stop bit.
Definition: armport.h:105
ODD parity.
Definition: armport.h:94
enum armPortPin_e armPortPin_t
Constant to define the pins.
nRESET pin.
Definition: armport.h:126
void armPortGpioSet(void *port, armPortPin_t pin, bool val)
void armPortDelay(unsigned int ms)
armPortDatabits_t
Constant to define the data bits value.
Definition: armport.h:81
armPortBaudrate_t
Constant to define the baudrate value.
Definition: armport.h:63
4800 bps.
Definition: armport.h:68
19200 bps.
Definition: armport.h:70
57600 bps.
Definition: armport.h:72
armPortStopbit_t
Constant to define the number stop bits.
Definition: armport.h:102
nSLEEP pin.
Definition: armport.h:120
2400 bps.
Definition: armport.h:67
No parity.
Definition: armport.h:93
1 stop bit.
Definition: armport.h:104
int armPortOpen(void **port)
int armPortWrite(void *port, const void *buf, size_t nbyte)
Even parity.
Definition: armport.h:95
230400 bps.
Definition: armport.h:74
data of 7 bits.
Definition: armport.h:83
115200 bps.
Definition: armport.h:73
That is probably a error.
Definition: armport.h:65