Added documentation for different pinmode states