LMS 2012
|
#include "tistdtypes.h"
Go to the source code of this file.
Macros | |
#define | PRU_SUART_SERIALIZER_0 (0u) |
#define | PRU_SUART_SERIALIZER_1 (1u) |
#define | PRU_SUART_SERIALIZER_2 (2u) |
#define | PRU_SUART_SERIALIZER_3 (3u) |
#define | PRU_SUART_SERIALIZER_4 (4u) |
#define | PRU_SUART_SERIALIZER_5 (5u) |
#define | PRU_SUART_SERIALIZER_6 (6u) |
#define | PRU_SUART_SERIALIZER_7 (7u) |
#define | PRU_SUART_SERIALIZER_8 (8u) |
#define | PRU_SUART_SERIALIZER_9 (9u) |
#define | PRU_SUART_SERIALIZER_10 (10u) |
#define | PRU_SUART_SERIALIZER_11 (11u) |
#define | PRU_SUART_SERIALIZER_12 (12u) |
#define | PRU_SUART_SERIALIZER_13 (13u) |
#define | PRU_SUART_SERIALIZER_14 (14u) |
#define | PRU_SUART_SERIALIZER_15 (15u) |
#define | PRU_SUART_SERIALIZER_NONE (16u) |
#define | SUART_NUM_OF_BAUDS_SUPPORTED 13 |
#define | MCASP_PDIR_VAL |
Functions | |
void | suart_mcasp_reset (arm_pru_iomap *pru_arm_iomap) |
void | suart_mcasp_config (unsigned int mcasp_addr, unsigned int txBaudValue, unsigned int rxBaudValue, unsigned int oversampling, arm_pru_iomap *pru_arm_iomap) |
short | suart_asp_baud_set (unsigned int txBaudValue, unsigned int rxBaudValue, unsigned int oversampling, arm_pru_iomap *pru_arm_iomap) |
void | suart_mcasp_psc_disable (unsigned int psc1_addr) |
void | suart_mcasp_psc_enable (unsigned int psc1_addr) |
short | suart_asp_serializer_deactivate (unsigned short u16srNum, arm_pru_iomap *pru_arm_iomap) |
void | suart_mcasp_tx_serialzier_set (unsigned int serializerNum, arm_pru_iomap *pru_arm_iomap) |
#define MCASP_PDIR_VAL |
Definition at line 71 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_0 (0u) |
Definition at line 34 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_1 (1u) |
Serializer
Definition at line 36 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_10 (10u) |
Serializer
Definition at line 54 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_11 (11u) |
Serializer
Definition at line 56 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_12 (12u) |
Serializer
Definition at line 58 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_13 (13u) |
Serializer
Definition at line 60 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_14 (14u) |
Serializer
Definition at line 62 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_15 (15u) |
Serializer
Definition at line 64 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_2 (2u) |
Serializer
Definition at line 38 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_3 (3u) |
Serializer
Definition at line 40 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_4 (4u) |
Serializer
Definition at line 42 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_5 (5u) |
Serializer
Definition at line 44 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_6 (6u) |
Serializer
Definition at line 46 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_7 (7u) |
Serializer
Definition at line 48 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_8 (8u) |
Serializer
Definition at line 50 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_9 (9u) |
Serializer
Definition at line 52 of file suart_utils.h.
#define PRU_SUART_SERIALIZER_NONE (16u) |
Serializer
Definition at line 66 of file suart_utils.h.
#define SUART_NUM_OF_BAUDS_SUPPORTED 13 |
Definition at line 69 of file suart_utils.h.
short suart_asp_baud_set | ( | unsigned int | txBaudValue, |
unsigned int | rxBaudValue, | ||
unsigned int | oversampling, | ||
arm_pru_iomap * | pru_arm_iomap | ||
) |
Definition at line 374 of file suart_utils.c.
short suart_asp_serializer_deactivate | ( | unsigned short | u16srNum, |
arm_pru_iomap * | pru_arm_iomap | ||
) |
Definition at line 392 of file suart_utils.c.
void suart_mcasp_config | ( | unsigned int | mcasp_addr, |
unsigned int | txBaudValue, | ||
unsigned int | rxBaudValue, | ||
unsigned int | oversampling, | ||
arm_pru_iomap * | pru_arm_iomap | ||
) |
Definition at line 154 of file suart_utils.c.
void suart_mcasp_psc_disable | ( | unsigned int | psc1_addr | ) |
Definition at line 455 of file suart_utils.c.
void suart_mcasp_psc_enable | ( | unsigned int | psc1_addr | ) |
Definition at line 426 of file suart_utils.c.
void suart_mcasp_reset | ( | arm_pru_iomap * | pru_arm_iomap | ) |
Definition at line 140 of file suart_utils.c.
void suart_mcasp_tx_serialzier_set | ( | unsigned int | serializerNum, |
arm_pru_iomap * | pru_arm_iomap | ||
) |
Definition at line 252 of file suart_utils.c.