DMSC controls the power management, security and resource management of the device. 
 | 
| static uint32_t  | get_field (uint32_t val, uint32_t end, uint32_t start) | 
|   | extract the specified bit field from a 32 bit unsigned integer.  More...
  | 
|   | 
| static uint32_t  | set_field (uint32_t tgt, uint32_t end, uint32_t start, uint32_t val) | 
|   | set the specified bit field from a 32 bit unsigned integer to provided value  More...
  | 
|   | 
| static uint32_t  | get_mask (uint32_t end, uint32_t start) | 
|   | Generate a mask for the give bit field [end:start].  More...
  | 
|   | 
◆ TISCI_BIT
      
        
          | #define TISCI_BIT | 
          ( | 
            | 
          n | ) | 
             (((uint32_t) 1U) << (n)) | 
        
      
 
This file contains: 
    WARNING!!: Autogenerated file from SYSFW. DO NOT MODIFY!!
 System Firmware
Functions for bit and bitfield operations TISCI_BIT macro for easily calculating a bit at offset (n) 
 
 
◆ get_field()
  
  
      
        
          | static uint32_t get_field  | 
          ( | 
          uint32_t  | 
          val,  | 
         
        
           | 
           | 
          uint32_t  | 
          end,  | 
         
        
           | 
           | 
          uint32_t  | 
          start  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
extract the specified bit field from a 32 bit unsigned integer. 
- Parameters
 - 
  
    | val | input from which the bitfield is extracted  | 
    | end | upper bit index of the bitfield  | 
    | start | lower bit index of the bitfield | 
  
   
- Returns
 - extracted bit field, right shifted by start bits. 
 
 
 
◆ set_field()
  
  
      
        
          | static uint32_t set_field  | 
          ( | 
          uint32_t  | 
          tgt,  | 
         
        
           | 
           | 
          uint32_t  | 
          end,  | 
         
        
           | 
           | 
          uint32_t  | 
          start,  | 
         
        
           | 
           | 
          uint32_t  | 
          val  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
set the specified bit field from a 32 bit unsigned integer to provided value 
- Parameters
 - 
  
    | tgt | input in which the bitfield is to be set  | 
    | end | upper bit index of the bitfield  | 
    | start | lower bit index of the bitfield  | 
    | val | value to which the bit field is to be set. | 
  
   
- Returns
 - input value with bitfield updated as specified. 
 
 
 
◆ get_mask()
  
  
      
        
          | static uint32_t get_mask  | 
          ( | 
          uint32_t  | 
          end,  | 
         
        
           | 
           | 
          uint32_t  | 
          start  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Generate a mask for the give bit field [end:start]. 
All the bits between the two specified bit indices including the specified indices are set to 1. Rest of the bits are set to zero.
- Parameters
 - 
  
    | end | upper bit index of the mask  | 
    | start | lower bit index of the mask | 
  
   
- Returns
 - generated mask