AM263Px MCU+ SDK: sent_decoder.h File Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Structures | Macros | Typedefs | Variables
sent_decoder.h File Reference

Go to the source code of this file.

## Data Structures
struct | Sent_Obj
| SENT Wave Struct Sync Pulse: 56 ticks 4 bit Status and Message Pulse: 17-32 tick 4 bit (9:12) Data0 Field: 17-32 ticks 4 bit (5:8) Data1 Field: 17-32 ticks 4 bit (1:4) Data2 Field: 17-32 ticks 4 bit (9-12) Data3 Field: 17-32 ticks 4 bit (5-8) Data4 Field: 17-32 ticks 4 bit (1-4) Data5 Field: 17-32 ticks 4 bit CRC: 17-32 ticks. More...

## Macros
#define | MSS_CTRL_ICSSM_PRU_GPIO_OUT_CTRL_VALUE (0x17F)
#define | CRC4_LUT_OFFSET (0x00U)
#define | CH0_DATA_READY_FLAG_OFFSET (0x00U)
#define | CH1_DATA_READY_FLAG_OFFSET (0x01U)
#define | CH2_DATA_READY_FLAG_OFFSET (0x02U)
#define | CH3_DATA_READY_FLAG_OFFSET (0x03U)
#define | CH4_DATA_READY_FLAG_OFFSET (0x04U)
#define | CH5_DATA_READY_FLAG_OFFSET (0x05U)
#define | CH6_DATA_READY_FLAG_OFFSET (0x06U)
#define | CH7_DATA_READY_FLAG_OFFSET (0x07U)
#define | CH0_DATA_OFFSET (0x40U)
#define | CH1_DATA_OFFSET (0x4CU)
#define | CH2_DATA_OFFSET (0x58U)
#define | CH3_DATA_OFFSET (0x64U)
#define | CH4_DATA_OFFSET (0x70U)
#define | CH5_DATA_OFFSET (0x7CU)
#define | CH6_DATA_OFFSET (0x88U)
#define | CH7_DATA_OFFSET (0x94U)
#define | CH0_FLAG_MASK (0xFFU)
#define | CH1_FLAG_MASK (0xFF00U)
#define | CH2_FLAG_MASK (0xFF0000U)
#define | CH3_FLAG_MASK (0xFF000000U)
#define | CH4_FLAG_MASK (0xFFU)
#define | CH5_FLAG_MASK (0xFF00U)
#define | CH6_FLAG_MASK (0xFF0000U)
#define | CH7_FLAG_MASK (0xFF000000U)
#define | CONFIG_TICK_TIME_OFFSET (0x0U)
#define | STATUS_COM_BIT_OFFSET (0x2U)
#define | DATA0_OFFSET (0x3U)
#define | DATA1_OFFSET (0x4U)
#define | DATA2_OFFSET (0x5U)
#define | DATA3_OFFSET (0x6U)
#define | DATA4_OFFSET (0x7U)
#define | DATA5_OFFSET (0x8U)
#define | CRC_OFFSET (0x9U)
#define | ERROR_STATUS_OFFSET (0xAU)

## Typedefs
typedef struct Sent_Obj_s * | Sent_Handle
| SENT FRame handle. More...

## Variables
PRUICSS_Handle | gPruIcss0Handle
| Global Structure pointer holding PRUSS1 memory Map. More...

## Macro Definition Documentation

## ◆ MSS_CTRL_ICSSM_PRU_GPIO_OUT_CTRL_VALUE

#define MSS_CTRL_ICSSM_PRU_GPIO_OUT_CTRL_VALUE (0x17F)

Value to be set in ICSSM_PRU0_GPIO_OUT_CTRL and ICSSM_PRU1_GPIO_OUT_CTRL registers when using pins in GPIO mode. 1 - Input 0- Output This configures PRG0_PRUx_GPIO0, PRG0_PRUx_GPIO1, PRG0_PRUx_GPIO2, PRG0_PRUx_GPIO3, PRG0_PRUx_GPIO4, PRG0_PRUx_GPIO5, PRG0_PRUx_GPIO6, PRG0_PRUx_GPIO8 as input pins.

## ◆ CRC4_LUT_OFFSET

#define CRC4_LUT_OFFSET (0x00U)

## ◆ CH0_DATA_READY_FLAG_OFFSET

#define CH0_DATA_READY_FLAG_OFFSET (0x00U)

## ◆ CH1_DATA_READY_FLAG_OFFSET

#define CH1_DATA_READY_FLAG_OFFSET (0x01U)

## ◆ CH2_DATA_READY_FLAG_OFFSET

#define CH2_DATA_READY_FLAG_OFFSET (0x02U)

## ◆ CH3_DATA_READY_FLAG_OFFSET

#define CH3_DATA_READY_FLAG_OFFSET (0x03U)

## ◆ CH4_DATA_READY_FLAG_OFFSET

#define CH4_DATA_READY_FLAG_OFFSET (0x04U)

## ◆ CH5_DATA_READY_FLAG_OFFSET

#define CH5_DATA_READY_FLAG_OFFSET (0x05U)

## ◆ CH6_DATA_READY_FLAG_OFFSET

#define CH6_DATA_READY_FLAG_OFFSET (0x06U)

## ◆ CH7_DATA_READY_FLAG_OFFSET

#define CH7_DATA_READY_FLAG_OFFSET (0x07U)

## ◆ CH0_DATA_OFFSET

#define CH0_DATA_OFFSET (0x40U)

## ◆ CH1_DATA_OFFSET

#define CH1_DATA_OFFSET (0x4CU)

## ◆ CH2_DATA_OFFSET

#define CH2_DATA_OFFSET (0x58U)

## ◆ CH3_DATA_OFFSET

#define CH3_DATA_OFFSET (0x64U)

## ◆ CH4_DATA_OFFSET

#define CH4_DATA_OFFSET (0x70U)

## ◆ CH5_DATA_OFFSET

#define CH5_DATA_OFFSET (0x7CU)

## ◆ CH6_DATA_OFFSET

#define CH6_DATA_OFFSET (0x88U)

## ◆ CH7_DATA_OFFSET

#define CH7_DATA_OFFSET (0x94U)

## ◆ CH0_FLAG_MASK

#define CH0_FLAG_MASK (0xFFU)

## ◆ CH1_FLAG_MASK

#define CH1_FLAG_MASK (0xFF00U)

## ◆ CH2_FLAG_MASK

#define CH2_FLAG_MASK (0xFF0000U)

## ◆ CH3_FLAG_MASK

#define CH3_FLAG_MASK (0xFF000000U)

## ◆ CH4_FLAG_MASK

#define CH4_FLAG_MASK (0xFFU)

## ◆ CH5_FLAG_MASK

#define CH5_FLAG_MASK (0xFF00U)

## ◆ CH6_FLAG_MASK

#define CH6_FLAG_MASK (0xFF0000U)

## ◆ CH7_FLAG_MASK

#define CH7_FLAG_MASK (0xFF000000U)

## ◆ CONFIG_TICK_TIME_OFFSET

#define CONFIG_TICK_TIME_OFFSET (0x0U)

## ◆ STATUS_COM_BIT_OFFSET

#define STATUS_COM_BIT_OFFSET (0x2U)

## ◆ DATA0_OFFSET

#define DATA0_OFFSET (0x3U)

## ◆ DATA1_OFFSET

#define DATA1_OFFSET (0x4U)

## ◆ DATA2_OFFSET

#define DATA2_OFFSET (0x5U)

## ◆ DATA3_OFFSET

#define DATA3_OFFSET (0x6U)

## ◆ DATA4_OFFSET

#define DATA4_OFFSET (0x7U)

## ◆ DATA5_OFFSET

#define DATA5_OFFSET (0x8U)

## ◆ CRC_OFFSET

#define CRC_OFFSET (0x9U)

## ◆ ERROR_STATUS_OFFSET

#define ERROR_STATUS_OFFSET (0xAU)

## Typedef Documentation

## ◆ Sent_Handle

typedef struct Sent_Obj_s* Sent_Handle

SENT FRame handle.

SENT Frame opaque handle used to call any SENT related APIs.

## Variable Documentation

## ◆ gPruIcss0Handle

PRUICSS_Handle gPruIcss0Handle

Global Structure pointer holding PRUSS1 memory Map.