openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
rtm.h File Reference

Generic RTM Module management functions. More...

#include "rtm_user.h"
Include dependency graph for rtm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void rtm_manage_init (void)
 Initialize RTM Manage task.
 
void rtm_check_presence (uint8_t *status)
 Check RTM Presence.
 
mmc_err rtm_enable_payload_power (void)
 Enable payload power.
 
mmc_err rtm_disable_payload_power (void)
 Disable payload power.
 

Variables

volatile bool rtm_present
 

Detailed Description

Generic RTM Module management functions.

Author
Henrique Silva henri.nosp@m.que..nosp@m.silva.nosp@m.@lnl.nosp@m.s.br

Function Documentation

◆ rtm_check_presence()

void rtm_check_presence ( uint8_t * status)

Check RTM Presence.

This task use some GPIO pins to detect the RTM Board presence

Returns
None

◆ rtm_disable_payload_power()

mmc_err rtm_disable_payload_power ( void )

Disable payload power.

This function turn off the 12V payload power rail and de-initialise the RTM powered by it.

◆ rtm_enable_payload_power()

mmc_err rtm_enable_payload_power ( void )

Enable payload power.

This function turn on the 12V payload power rail and initialise the RTM powered by it.

◆ rtm_manage_init()

void rtm_manage_init ( void )

Initialize RTM Manage task.

This task creates the RTM_Manage task and initialize some GPIO pins used to detect the RTM Board presence

Returns
None

Variable Documentation

◆ rtm_present

volatile bool rtm_present
extern