FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Input output pin usage configuration. More...
#include <FixedConfigs.h>
Data Fields | |
unsigned char | PWMEnable |
Enables the PWM functionality for each pin. Note for 16 bit you the low order bit enabled. See section 8.3.2.1 on page 368 of MC9S12XDP512RMV2.pdf. | |
unsigned char | PWMPolarity |
Inverts the duty of the output. 1 means "duty is high portion", 0 means "duty is low portion". See section 8.3.2.2 on page 370 of MC9S12XDP512RMV2.pdf. | |
unsigned char | PWMClock |
TODO abstract this away. | |
unsigned char | PWMClockPrescaler |
TODO abstract this away. | |
unsigned char | PWMCenterAlign |
See section 8.3.2.5 on page 372 of MC9S12XDP512RMV2.pdf. | |
unsigned char | PWMControl |
The high four bits concatenate the 8 bit PWM channels into 4 16 bit channels on a pair by pair basis. 4 joins (0,1), 5 joins (2,3), 6 joins (4,5), 7 joins (6,7). | |
unsigned char | PWMScalerA |
TODO abstract this away. | |
unsigned char | PWMScalerB |
TODO abstract this away. | |
unsigned char | PWMPeriod0 |
TODO abstract this away. | |
unsigned char | PWMPeriod1 |
TODO abstract this away. | |
unsigned char | PWMPeriod2 |
TODO abstract this away. | |
unsigned char | PWMPeriod3 |
TODO abstract this away. | |
unsigned char | PWMPeriod4 |
TODO abstract this away. | |
unsigned char | PWMPeriod5 |
TODO abstract this away. | |
unsigned char | PWMPeriod6 |
TODO abstract this away. | |
unsigned char | PWMPeriod7 |
TODO abstract this away. | |
unsigned char | PWMInitialDuty0 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty1 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty2 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty3 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty4 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty5 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty6 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PWMInitialDuty7 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later. | |
unsigned char | PortInitialValueA |
The state of the port at power up. | |
unsigned char | PortInitialValueB |
The state of the port at power up. | |
unsigned char | PortInitialValueC |
The state of the port at power up. | |
unsigned char | PortInitialValueD |
The state of the port at power up. | |
unsigned char | PortInitialValueE |
The state of the port at power up. | |
unsigned char | PortInitialValueH |
The state of the port at power up. | |
unsigned char | PortInitialValueJ |
The state of the port at power up. | |
unsigned char | PortInitialValueK |
The state of the port at power up. | |
unsigned char | PortInitialValueM |
The state of the port at power up. | |
unsigned char | PortInitialValueP |
The state of the port at power up. | |
unsigned char | PortInitialValueS |
The state of the port at power up. | |
unsigned char | PortInitialValueT |
The state of the port at power up. | |
unsigned char | PortDirectionA |
unsigned char | PortDirectionB |
Whether pins act as inputs or outputs, 1 means output, 0 means input. 0 is the default for most pins. Note, peripheral modules which use these pins override this control. | |
unsigned char | PortDirectionC |
unsigned char | PortDirectionD |
unsigned char | PortDirectionE |
unsigned char | PortDirectionH |
unsigned char | PortDirectionJ |
unsigned char | PortDirectionK |
unsigned char | PortDirectionM |
unsigned char | PortDirectionP |
unsigned char | PortDirectionS |
unsigned char | PortDirectionT |
Input output pin usage configuration.
Definition at line 254 of file FixedConfigs.h.
unsigned char inputOutputSetting::PWMEnable |
Enables the PWM functionality for each pin. Note for 16 bit you the low order bit enabled. See section 8.3.2.1 on page 368 of MC9S12XDP512RMV2.pdf.
Definition at line 257 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMPolarity |
Inverts the duty of the output. 1 means "duty is high portion", 0 means "duty is low portion". See section 8.3.2.2 on page 370 of MC9S12XDP512RMV2.pdf.
Definition at line 258 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMClock |
unsigned char inputOutputSetting::PWMClockPrescaler |
unsigned char inputOutputSetting::PWMCenterAlign |
See section 8.3.2.5 on page 372 of MC9S12XDP512RMV2.pdf.
Definition at line 261 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMControl |
The high four bits concatenate the 8 bit PWM channels into 4 16 bit channels on a pair by pair basis. 4 joins (0,1), 5 joins (2,3), 6 joins (4,5), 7 joins (6,7).
Definition at line 262 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMScalerA |
unsigned char inputOutputSetting::PWMScalerB |
unsigned char inputOutputSetting::PWMPeriod0 |
unsigned char inputOutputSetting::PWMPeriod1 |
unsigned char inputOutputSetting::PWMPeriod2 |
unsigned char inputOutputSetting::PWMPeriod3 |
unsigned char inputOutputSetting::PWMPeriod4 |
unsigned char inputOutputSetting::PWMPeriod5 |
unsigned char inputOutputSetting::PWMPeriod6 |
unsigned char inputOutputSetting::PWMPeriod7 |
unsigned char inputOutputSetting::PWMInitialDuty0 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 275 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty1 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 276 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty2 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 277 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty3 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 278 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty4 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 279 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty5 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 280 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty6 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 281 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PWMInitialDuty7 |
The duty cycle at power up. Usually unimportant due to being overwritten by the algorithm involved milliseconds later.
Definition at line 282 of file FixedConfigs.h.
Referenced by initPWM().
unsigned char inputOutputSetting::PortInitialValueA |
The state of the port at power up.
Definition at line 284 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueB |
The state of the port at power up.
Definition at line 285 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueC |
The state of the port at power up.
Definition at line 286 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueD |
The state of the port at power up.
Definition at line 287 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueE |
The state of the port at power up.
Definition at line 288 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueH |
The state of the port at power up.
Definition at line 289 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueJ |
The state of the port at power up.
Definition at line 290 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueK |
The state of the port at power up.
Definition at line 291 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueM |
The state of the port at power up.
Definition at line 292 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueP |
The state of the port at power up.
Definition at line 293 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueS |
The state of the port at power up.
Definition at line 294 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortInitialValueT |
The state of the port at power up.
Definition at line 295 of file FixedConfigs.h.
unsigned char inputOutputSetting::PortDirectionA |
Definition at line 297 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionB |
Whether pins act as inputs or outputs, 1 means output, 0 means input. 0 is the default for most pins. Note, peripheral modules which use these pins override this control.
Definition at line 298 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionC |
unsigned char inputOutputSetting::PortDirectionD |
unsigned char inputOutputSetting::PortDirectionE |
Definition at line 301 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionH |
Definition at line 302 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionJ |
Definition at line 303 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionK |
unsigned char inputOutputSetting::PortDirectionM |
Definition at line 305 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionP |
Definition at line 306 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionS |
Definition at line 307 of file FixedConfigs.h.
Referenced by initGPIO().
unsigned char inputOutputSetting::PortDirectionT |
Definition at line 308 of file FixedConfigs.h.