Man_Receive_Init; Man_Receive_Config; Man_Receive - mikroElektronika PIC Microcontrollers PIC12 User Manual

Mikroc user's manual
Table of Contents

Advertisement

mikroC - C Compiler for Microchip PIC microcontrollers

Man_Receive_Config

Prototype
void Man_Receive_Config(char *port, char rxpin);
Description
The function prepares PIC for receiving signal. You need to specify the
rxpin

Man_Receive_Init

Example
Man_Receive_Config(&PORTD, 6);
Man_Receive_Init
Prototype
void Man_Receive_Init(char *port);
Description
The function prepares PIC for receiving signal. You need to specify the
pin 6 by default. In case of multiple errors on reception, you should call
Man_Receive_Init
Example
Man_Receive_Init(&PORTD);

Man_Receive

Prototype
void Man_Receive(char *error);
Returns
Returns one byte from signal.
Description
Function extracts one byte from signal. If signal format does not match the expected,
error
Requires
To use this function, you must first prepare the PIC for receiving. See
Man_Receive_Config
Example
temp = Man_Receive(error);
if (error) { ... /* error handling */ }
page
220
(0–7) of input signal. In case of multiple errors on reception, you should call
once again to enable synchronization.
once again to enable synchronization.
flag will be set to 255.
or
Man_Receive_Init
MikroElektronika: Development tools - Books - Compilers
port
port
.
mikroC
making it simple...
and
;
is
rxpin

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents