presence_reg_protocol.c File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "acc_reg_protocol.h"
#include "presence_reg_protocol.h"

Go to the source code of this file.

Functions

void presence_reg_protocol_setup (void)
 
void presence_reg_protocol_write_default (void)
 

Variables

const acc_reg_protocol_t presence_reg_protocol [PRESENCE_REG_REGISTER_COUNT]
 

Function Documentation

◆ presence_reg_protocol_setup()

void presence_reg_protocol_setup ( void  )

The presence protocol setup function.

Definition at line 182 of file presence_reg_protocol.c.

◆ presence_reg_protocol_write_default()

void presence_reg_protocol_write_default ( void  )

The presence protocol write default register value function.

Definition at line 188 of file presence_reg_protocol.c.

Variable Documentation

◆ presence_reg_protocol

const acc_reg_protocol_t presence_reg_protocol[PRESENCE_REG_REGISTER_COUNT]

This struct defines the links between a register address and the register read and/or write function.

Definition at line 18 of file presence_reg_protocol.c.