161 #ifndef ti_driver_pwm_PWMTimerMSP432__include 162 #define ti_driver_pwm_PWMTimerMSP432__include 170 #include <ti/devices/DeviceFamily.h> 174 #include <ti/devices/msp432p4xx/driverlib/pmap.h> 175 #include <ti/devices/msp432p4xx/driverlib/timer_a.h> 226 #define PWMTimerMSP432_CCR1 (TIMER_A_CAPTURECOMPARE_REGISTER_1 << 20) 227 #define PWMTimerMSP432_CCR2 (TIMER_A_CAPTURECOMPARE_REGISTER_2 << 20) 228 #define PWMTimerMSP432_CCR3 (TIMER_A_CAPTURECOMPARE_REGISTER_3 << 20) 229 #define PWMTimerMSP432_CCR4 (TIMER_A_CAPTURECOMPARE_REGISTER_4 << 20) 231 #define PWMTimerMSP432_TA0 (0 << 16) 232 #define PWMTimerMSP432_TA1 (1 << 16) 233 #define PWMTimerMSP432_TA2 (2 << 16) 234 #define PWMTimerMSP432_TA3 (3 << 16) 236 #define PWMTimerMSP432_TA0CCR1 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR1 | (PMAP_TA0CCR1A << 10)) 237 #define PWMTimerMSP432_TA0CCR2 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR2 | (PMAP_TA0CCR2A << 10)) 238 #define PWMTimerMSP432_TA0CCR3 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR3 | (PMAP_TA0CCR3A << 10)) 239 #define PWMTimerMSP432_TA0CCR4 (PWMTimerMSP432_TA0 | PWMTimerMSP432_CCR4 | (PMAP_TA0CCR4A << 10)) 241 #define PWMTimerMSP432_TA1CCR1 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR1 | (PMAP_TA1CCR1A << 10)) 242 #define PWMTimerMSP432_TA1CCR2 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR2 | (PMAP_TA1CCR2A << 10)) 243 #define PWMTimerMSP432_TA1CCR3 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR3 | (PMAP_TA1CCR3A << 10)) 244 #define PWMTimerMSP432_TA1CCR4 (PWMTimerMSP432_TA1 | PWMTimerMSP432_CCR4 | (PMAP_TA1CCR4A << 10)) 246 #define PWMTimerMSP432_TA2CCR1 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR1) 247 #define PWMTimerMSP432_TA2CCR2 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR2) 248 #define PWMTimerMSP432_TA2CCR3 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR3) 249 #define PWMTimerMSP432_TA2CCR4 (PWMTimerMSP432_TA2 | PWMTimerMSP432_CCR4) 251 #define PWMTimerMSP432_TA3CCR1 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR1) 252 #define PWMTimerMSP432_TA3CCR2 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR2) 253 #define PWMTimerMSP432_TA3CCR3 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR3) 254 #define PWMTimerMSP432_TA3CCR4 (PWMTimerMSP432_TA3 | PWMTimerMSP432_CCR4) 266 #define PWMTimerMSP432_P2_0_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x20) 267 #define PWMTimerMSP432_P2_0_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x20) 268 #define PWMTimerMSP432_P2_0_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x20) 269 #define PWMTimerMSP432_P2_0_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x20) 270 #define PWMTimerMSP432_P2_0_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x20) 271 #define PWMTimerMSP432_P2_0_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x20) 272 #define PWMTimerMSP432_P2_0_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x20) 273 #define PWMTimerMSP432_P2_0_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x20) 280 #define PWMTimerMSP432_P2_1_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x21) 281 #define PWMTimerMSP432_P2_1_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x21) 282 #define PWMTimerMSP432_P2_1_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x21) 283 #define PWMTimerMSP432_P2_1_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x21) 284 #define PWMTimerMSP432_P2_1_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x21) 285 #define PWMTimerMSP432_P2_1_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x21) 286 #define PWMTimerMSP432_P2_1_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x21) 287 #define PWMTimerMSP432_P2_1_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x21) 294 #define PWMTimerMSP432_P2_2_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x22) 295 #define PWMTimerMSP432_P2_2_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x22) 296 #define PWMTimerMSP432_P2_2_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x22) 297 #define PWMTimerMSP432_P2_2_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x22) 298 #define PWMTimerMSP432_P2_2_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x22) 299 #define PWMTimerMSP432_P2_2_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x22) 300 #define PWMTimerMSP432_P2_2_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x22) 301 #define PWMTimerMSP432_P2_2_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x22) 308 #define PWMTimerMSP432_P2_3_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x23) 309 #define PWMTimerMSP432_P2_3_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x23) 310 #define PWMTimerMSP432_P2_3_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x23) 311 #define PWMTimerMSP432_P2_3_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x23) 312 #define PWMTimerMSP432_P2_3_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x23) 313 #define PWMTimerMSP432_P2_3_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x23) 314 #define PWMTimerMSP432_P2_3_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x23) 315 #define PWMTimerMSP432_P2_3_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x23) 322 #define PWMTimerMSP432_P2_4_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x24) 323 #define PWMTimerMSP432_P2_4_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x24) 324 #define PWMTimerMSP432_P2_4_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x24) 325 #define PWMTimerMSP432_P2_4_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x24) 326 #define PWMTimerMSP432_P2_4_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x24) 327 #define PWMTimerMSP432_P2_4_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x24) 328 #define PWMTimerMSP432_P2_4_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x24) 329 #define PWMTimerMSP432_P2_4_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x24) 336 #define PWMTimerMSP432_P2_5_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x25) 337 #define PWMTimerMSP432_P2_5_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x25) 338 #define PWMTimerMSP432_P2_5_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x25) 339 #define PWMTimerMSP432_P2_5_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x25) 340 #define PWMTimerMSP432_P2_5_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x25) 341 #define PWMTimerMSP432_P2_5_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x25) 342 #define PWMTimerMSP432_P2_5_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x25) 343 #define PWMTimerMSP432_P2_5_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x25) 350 #define PWMTimerMSP432_P2_6_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x26) 351 #define PWMTimerMSP432_P2_6_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x26) 352 #define PWMTimerMSP432_P2_6_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x26) 353 #define PWMTimerMSP432_P2_6_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x26) 354 #define PWMTimerMSP432_P2_6_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x26) 355 #define PWMTimerMSP432_P2_6_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x26) 356 #define PWMTimerMSP432_P2_6_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x26) 357 #define PWMTimerMSP432_P2_6_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x26) 364 #define PWMTimerMSP432_P2_7_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x27) 365 #define PWMTimerMSP432_P2_7_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x27) 366 #define PWMTimerMSP432_P2_7_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x27) 367 #define PWMTimerMSP432_P2_7_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x27) 368 #define PWMTimerMSP432_P2_7_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x27) 369 #define PWMTimerMSP432_P2_7_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x27) 370 #define PWMTimerMSP432_P2_7_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x27) 371 #define PWMTimerMSP432_P2_7_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x27) 378 #define PWMTimerMSP432_P3_0_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x30) 379 #define PWMTimerMSP432_P3_0_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x30) 380 #define PWMTimerMSP432_P3_0_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x30) 381 #define PWMTimerMSP432_P3_0_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x30) 382 #define PWMTimerMSP432_P3_0_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x30) 383 #define PWMTimerMSP432_P3_0_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x30) 384 #define PWMTimerMSP432_P3_0_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x30) 385 #define PWMTimerMSP432_P3_0_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x30) 392 #define PWMTimerMSP432_P3_1_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x31) 393 #define PWMTimerMSP432_P3_1_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x31) 394 #define PWMTimerMSP432_P3_1_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x31) 395 #define PWMTimerMSP432_P3_1_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x31) 396 #define PWMTimerMSP432_P3_1_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x31) 397 #define PWMTimerMSP432_P3_1_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x31) 398 #define PWMTimerMSP432_P3_1_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x31) 399 #define PWMTimerMSP432_P3_1_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x31) 406 #define PWMTimerMSP432_P3_2_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x32) 407 #define PWMTimerMSP432_P3_2_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x32) 408 #define PWMTimerMSP432_P3_2_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x32) 409 #define PWMTimerMSP432_P3_2_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x32) 410 #define PWMTimerMSP432_P3_2_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x32) 411 #define PWMTimerMSP432_P3_2_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x32) 412 #define PWMTimerMSP432_P3_2_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x32) 413 #define PWMTimerMSP432_P3_2_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x32) 420 #define PWMTimerMSP432_P3_3_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x33) 421 #define PWMTimerMSP432_P3_3_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x33) 422 #define PWMTimerMSP432_P3_3_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x33) 423 #define PWMTimerMSP432_P3_3_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x33) 424 #define PWMTimerMSP432_P3_3_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x33) 425 #define PWMTimerMSP432_P3_3_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x33) 426 #define PWMTimerMSP432_P3_3_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x33) 427 #define PWMTimerMSP432_P3_3_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x33) 434 #define PWMTimerMSP432_P3_4_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x34) 435 #define PWMTimerMSP432_P3_4_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x34) 436 #define PWMTimerMSP432_P3_4_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x34) 437 #define PWMTimerMSP432_P3_4_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x34) 438 #define PWMTimerMSP432_P3_4_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x34) 439 #define PWMTimerMSP432_P3_4_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x34) 440 #define PWMTimerMSP432_P3_4_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x34) 441 #define PWMTimerMSP432_P3_4_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x34) 448 #define PWMTimerMSP432_P3_5_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x35) 449 #define PWMTimerMSP432_P3_5_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x35) 450 #define PWMTimerMSP432_P3_5_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x35) 451 #define PWMTimerMSP432_P3_5_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x35) 452 #define PWMTimerMSP432_P3_5_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x35) 453 #define PWMTimerMSP432_P3_5_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x35) 454 #define PWMTimerMSP432_P3_5_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x35) 455 #define PWMTimerMSP432_P3_5_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x35) 462 #define PWMTimerMSP432_P3_6_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x36) 463 #define PWMTimerMSP432_P3_6_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x36) 464 #define PWMTimerMSP432_P3_6_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x36) 465 #define PWMTimerMSP432_P3_6_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x36) 466 #define PWMTimerMSP432_P3_6_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x36) 467 #define PWMTimerMSP432_P3_6_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x36) 468 #define PWMTimerMSP432_P3_6_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x36) 469 #define PWMTimerMSP432_P3_6_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x36) 476 #define PWMTimerMSP432_P3_7_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x37) 477 #define PWMTimerMSP432_P3_7_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x37) 478 #define PWMTimerMSP432_P3_7_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x37) 479 #define PWMTimerMSP432_P3_7_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x37) 480 #define PWMTimerMSP432_P3_7_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x37) 481 #define PWMTimerMSP432_P3_7_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x37) 482 #define PWMTimerMSP432_P3_7_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x37) 483 #define PWMTimerMSP432_P3_7_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x37) 490 #define PWMTimerMSP432_P5_6_TA2CCR1A (PWMTimerMSP432_TA2CCR1 | 0x156) 491 #define PWMTimerMSP432_P5_7_TA2CCR2A (PWMTimerMSP432_TA2CCR2 | 0x157) 498 #define PWMTimerMSP432_P6_6_TA2CCR3A (PWMTimerMSP432_TA2CCR3 | 0x166) 499 #define PWMTimerMSP432_P6_7_TA2CCR4A (PWMTimerMSP432_TA2CCR4 | 0x167) 506 #define PWMTimerMSP432_P7_0_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x70) 507 #define PWMTimerMSP432_P7_0_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x70) 508 #define PWMTimerMSP432_P7_0_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x70) 509 #define PWMTimerMSP432_P7_0_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x70) 510 #define PWMTimerMSP432_P7_0_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x70) 511 #define PWMTimerMSP432_P7_0_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x70) 512 #define PWMTimerMSP432_P7_0_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x70) 513 #define PWMTimerMSP432_P7_0_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x70) 520 #define PWMTimerMSP432_P7_1_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x71) 521 #define PWMTimerMSP432_P7_1_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x71) 522 #define PWMTimerMSP432_P7_1_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x71) 523 #define PWMTimerMSP432_P7_1_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x71) 524 #define PWMTimerMSP432_P7_1_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x71) 525 #define PWMTimerMSP432_P7_1_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x71) 526 #define PWMTimerMSP432_P7_1_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x71) 527 #define PWMTimerMSP432_P7_1_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x71) 534 #define PWMTimerMSP432_P7_2_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x72) 535 #define PWMTimerMSP432_P7_2_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x72) 536 #define PWMTimerMSP432_P7_2_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x72) 537 #define PWMTimerMSP432_P7_2_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x72) 538 #define PWMTimerMSP432_P7_2_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x72) 539 #define PWMTimerMSP432_P7_2_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x72) 540 #define PWMTimerMSP432_P7_2_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x72) 541 #define PWMTimerMSP432_P7_2_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x72) 548 #define PWMTimerMSP432_P7_3_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x73) 549 #define PWMTimerMSP432_P7_3_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x73) 550 #define PWMTimerMSP432_P7_3_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x73) 551 #define PWMTimerMSP432_P7_3_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x73) 552 #define PWMTimerMSP432_P7_3_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x73) 553 #define PWMTimerMSP432_P7_3_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x73) 554 #define PWMTimerMSP432_P7_3_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x73) 555 #define PWMTimerMSP432_P7_3_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x73) 562 #define PWMTimerMSP432_P7_4_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x74) 563 #define PWMTimerMSP432_P7_4_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x74) 564 #define PWMTimerMSP432_P7_4_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x74) 565 #define PWMTimerMSP432_P7_4_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x74) 566 #define PWMTimerMSP432_P7_4_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x74) 567 #define PWMTimerMSP432_P7_4_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x74) 568 #define PWMTimerMSP432_P7_4_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x74) 569 #define PWMTimerMSP432_P7_4_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x74) 576 #define PWMTimerMSP432_P7_5_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x75) 577 #define PWMTimerMSP432_P7_5_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x75) 578 #define PWMTimerMSP432_P7_5_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x75) 579 #define PWMTimerMSP432_P7_5_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x75) 580 #define PWMTimerMSP432_P7_5_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x75) 581 #define PWMTimerMSP432_P7_5_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x75) 582 #define PWMTimerMSP432_P7_5_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x75) 583 #define PWMTimerMSP432_P7_5_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x75) 590 #define PWMTimerMSP432_P7_6_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x76) 591 #define PWMTimerMSP432_P7_6_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x76) 592 #define PWMTimerMSP432_P7_6_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x76) 593 #define PWMTimerMSP432_P7_6_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x76) 594 #define PWMTimerMSP432_P7_6_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x76) 595 #define PWMTimerMSP432_P7_6_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x76) 596 #define PWMTimerMSP432_P7_6_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x76) 597 #define PWMTimerMSP432_P7_6_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x76) 604 #define PWMTimerMSP432_P7_7_TA0CCR1A (PWMTimerMSP432_TA0CCR1 | 0x77) 605 #define PWMTimerMSP432_P7_7_TA0CCR2A (PWMTimerMSP432_TA0CCR2 | 0x77) 606 #define PWMTimerMSP432_P7_7_TA0CCR3A (PWMTimerMSP432_TA0CCR3 | 0x77) 607 #define PWMTimerMSP432_P7_7_TA0CCR4A (PWMTimerMSP432_TA0CCR4 | 0x77) 608 #define PWMTimerMSP432_P7_7_TA1CCR1A (PWMTimerMSP432_TA1CCR1 | 0x77) 609 #define PWMTimerMSP432_P7_7_TA1CCR2A (PWMTimerMSP432_TA1CCR2 | 0x77) 610 #define PWMTimerMSP432_P7_7_TA1CCR3A (PWMTimerMSP432_TA1CCR3 | 0x77) 611 #define PWMTimerMSP432_P7_7_TA1CCR4A (PWMTimerMSP432_TA1CCR4 | 0x77) 618 #define PWMTimerMSP432_P8_2_TA3CCR2A (PWMTimerMSP342_TA3CCR2 | 0x182) 625 #define PWMTimerMSP432_P9_2_TA3CCR3A (PWMTimerMSP432_TA3CCR3 | 0x192) 626 #define PWMTimerMSP432_P9_3_TA3CCR4A (PWMTimerMSP432_TA3CCR4 | 0x193) 660 #define PWMTimerMSP432_NUM_TIMERS (4) 663 #define PWMTimerMSP432_NUM_PWM_OUTPUTS (6) 704 uint32_t duties[PWMTimerMSP432_NUM_PWM_OUTPUTS];
uint32_t pwmPin
Definition: PWMTimerMSP432.h:694
bool isOpen
Definition: PWMTimerMSP432.h:725
struct PWMTimerMSP432_Object PWMTimerMSP432_Object
PWMTimerMSP432 Object.
PWM_Duty_Units dutyUnits
Definition: PWMTimerMSP432.h:719
PWM_Period_Units periodUnits
Definition: PWMTimerMSP432.h:718
PWMTimerMSP432 Hardware attributes.
Definition: PWMTimerMSP432.h:692
struct PWMTimerMSP432_HWAttrsV2 PWMTimerMSP432_HWAttrsV2
PWMTimerMSP432 Hardware attributes.
PWMTimerMSP432_Status.
Definition: PWMTimerMSP432.h:703
const PWM_FxnTable PWMTimerMSP432_fxnTable
uint16_t clockSource
Definition: PWMTimerMSP432.h:693
The definition of a PWM function table that contains the required set of functions to control a speci...
Definition: PWM.h:407
uint32_t timerBaseAddr
Definition: PWMTimerMSP432.h:717
PWMTimerMSP432_Status * timerStatusStruct
Definition: PWMTimerMSP432.h:716
PWMTimerMSP432 Object.
Definition: PWMTimerMSP432.h:715
enum PWM_Period_Units_ PWM_Period_Units
PWM period unit definitions. Refer to device specific implementation if using PWM_PERIOD_COUNTS (raw ...
bool pwmStarted
Definition: PWMTimerMSP432.h:723
uint8_t prescalar
Definition: PWMTimerMSP432.h:706
PWM_IdleLevel idleLevel
Definition: PWMTimerMSP432.h:720
uint8_t activeOutputsMask
Definition: PWMTimerMSP432.h:707
enum PWM_IdleLevel_ PWM_IdleLevel
Idle output level when PWM is not running (stopped / not started).
uint8_t compareOutputNum
Definition: PWMTimerMSP432.h:721
struct PWMTimerMSP432_Status PWMTimerMSP432_Status
PWMTimerMSP432_Status.
uint32_t period
Definition: PWMTimerMSP432.h:705
enum PWM_Duty_Units_ PWM_Duty_Units
PWM duty cycle unit definitions. Refer to device specific implementation if using PWM_DUTY_COUNTS (ra...