---
name: "lores"
section: "3"
platform: "linux"
package: "alliance"
version: "5.1.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/lores"
---

# lores(3)

mbk logical resistor

## NAME

lores - mbk logical resistor

## DESCRIPTION

The **lores** is used to describe a logical resistor. Please note, this description is different from the RCN description and has a different purpose: the created resistor is a functional logical resistor, not a parasitic resistor. For the time being, only MIM (i.e. metal) resistor type is supported.

The declarations needed to work on **lores** are available in the header file *"/labo/include/mlo.h"*.

The following C structure supports the description of the logical resistor :

```
typedef struct lores
	{
	  struct lores	∗NEXT  ;
	  struct locon	∗RCON1 ;
	  struct locon	∗RCON2 ;
	  char	∗NAME  ;
	  double	RESI   ;
	  char	TYPE   ;
	  struct ptype	∗USER  ;
	} lores_list	       ;
```

- *NEXT*

  Pointer to the next **lores** of the list.

- *RCON1*

  Pointer to the rcon1 connector of the resistor. This connector is, of course unique. See [**locon**(3)](/locon/3.md) for details.

- *RCON2*

  Pointer to the rcon2 connector of the resistor. This connector is, of course unique. See [**locon**(3)](/locon/3.md) for details.

- *NAME*

  Resistor instance name

- *RESI*

  Resistance value

- *TYPE*

  Layer type of the resistor. One legal values is available :

  - **RESMIM**

    Metal resistor.

- *USER*

  Pointer to a ptype list, see [**ptype**(3)](/ptype/3.md) for details,  that is a general purpose pointer used to share informations on the resistor. This field is used with the **LORES\_INFO**(3) ptype to store physical informations.

## SEE ALSO

**mbk**(1), [**addlores**(3)](/addlores/3.md), [**getlores**(3)](/getlores/3.md), [**dellores**(3)](/dellores/3.md), [**setlores**(3)](/setlores/3.md), [**locon**(3)](/locon/3.md), [**lofig**(3)](/lofig/3.md), [**ptype**(3)](/ptype/3.md).
