RobotCode/codegentemp/Pin_MotorB_A.c
void Pin_MotorB_A_Write(uint8 value)
{
    uint8 drVal = (uint8)(Pin_MotorB_A_DR & (uint8)(~Pin_MotorB_A_MASK));
    drVal = (drVal | ((uint8)(value << Pin_MotorB_A_SHIFT) & Pin_MotorB_A_MASK));
    Pin_MotorB_A_DR = (uint32)drVal;
}
/**
*
* \brief Writes the value to the physical port (data output register), masking
*  and shifting the bits appropriately. 
*
* The data output register controls the signal applied to the physical pin in 
* conjunction with the drive mode parameter. This function avoids changing 
* other bits in the port by using the appropriate method (read-modify-write or
* bit banding).
*
* <b>Note</b> This function should not be used on a hardware digital output pin 
* as it is driven by the hardware signal attached to it.
*
* \param value
*  Value to write to the component instance.
*
* \return 
*  None 
*
* \sideeffect
*  If you use read-modify-write operations that are not atomic; the Interrupt 
*  Service Routines (ISR) can cause corruption of this function. An ISR that 
*  interrupts this function and performs writes to the Pins component data 
*  register can cause corrupted port data. To avoid this issue, you should 
*  either use the Per-Pin APIs (primary method) or disable interrupts around 
*  this function.
*
* \funcusage
*  \snippet Pin_MotorB_A_SUT.c usage_Pin_MotorB_A_Write
*******************************************************************************/
\brief Writes the value to the physical port (data output register), masking
and shifting the bits appropriately.

The data output register controls the signal applied to the physical pin in
conjunction with the drive mode parameter. This function avoids changing
other bits in the port by using the appropriate method (read-modify-write or
bit banding).

Note This function should not be used on a hardware digital output pin
as it is driven by the hardware signal attached to it.

\param value
Value to write to the component instance.

\return
None

\sideeffect
If you use read-modify-write operations that are not atomic; the Interrupt
Service Routines (ISR) can cause corruption of this function. An ISR that
interrupts this function and performs writes to the Pins component data
register can cause corrupted port data. To avoid this issue, you should
either use the Per-Pin APIs (primary method) or disable interrupts around
this function.


\ brief Writes the value to the physical port ( data output register ) masking and shifting the bits appropriately . The data output register controls the signal applied to the physical pin in conjunction with the drive mode parameter . This function avoids changing other bits in the port by using the appropriate method ( read - modify - write or bit banding ) . Note This function should not be used on a hardware digital output pin as it is driven by the hardware signal attached to it . \ param value Value to write to the component instance . \ return None \ sideeffect If you use read - modify - write operations that are not atomic ; the Interrupt Service Routines ( ISR ) can cause corruption of this function . An ISR that interrupts this function and performs writes to the Pins component data register can cause corrupted port data . To avoid this issue you should either use the Per - Pin APIs ( primary method ) or disable interrupts around this function .
void Pin_MotorB_A_Write(uint8 value)
{
    uint8 drVal = (uint8)(Pin_MotorB_A_DR & (uint8)(~Pin_MotorB_A_MASK));
    drVal = (drVal | ((uint8)(value << Pin_MotorB_A_SHIFT) & Pin_MotorB_A_MASK));
    Pin_MotorB_A_DR = (uint32)drVal;
}
void Pin_MotorB_A_Write ( uint8 value ) { uint8 drVal = ( uint8 ) ( Pin_MotorB_A_DR & ( uint8 ) ( ~ Pin_MotorB_A_MASK ) ) ; drVal = ( drVal | ( ( uint8 ) ( value << Pin_MotorB_A_SHIFT ) & Pin_MotorB_A_MASK ) ) ; Pin_MotorB_A_DR = ( uint32 ) drVal ; }
\brief Writes the value to the physical port (data output register), masking
and shifting the bits appropriately.
\ brief Writes the value to the physical port ( data output register ) masking and shifting the bits appropriately .